Push players out of the room with the reason

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
User avatar
khanhdev
Posts: 30
Joined: 24 Mar 2017, 11:32

Push players out of the room with the reason

Post by khanhdev »

I want to push players out of the room with the reason for the player.
But the sfsApi.leaveRoom function has no reason. help me!
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Push players out of the room with the reason

Post by Bax »

You could send a message to the user, then wait a few seconds and make it leave the Room.
Paolo Bax
The SmartFoxServer Team
Post Reply