Push players out of the room with the reason

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

Moderators: Lapo, Bax

User avatar
khanhdev
Posts: 14
Joined: 24 Mar 2017, 11:32

Push players out of the room with the reason

Postby khanhdev » 23 Aug 2017, 09:41

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: 4322
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Push players out of the room with the reason

Postby Bax » 23 Aug 2017, 09:46

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

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 8 guests