changing maxplayer value after gamestarted

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

User avatar
Lapo
Site Admin
Posts: 21952
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: changing maxplayer value after gamestarted

Postby Lapo » 09 Jun 2020, 14:32

(the post was moved from SFS1.x PRO to SFS2X Questions section)

Hi,
you should use the ChangeRoomCapacityRequest to alter the size of a Room after it's been created.
For more details check the documentation for the client platform you're using:
http://docs2x.smartfoxserver.com/

In the right side menu select Client API Documentation

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Baidu [Spider] and 40 guests