setting player index at smartfox.joinRoom()

Post here your suggestions for new possible features in SmartFoxServer.

Moderators: Lapo, Bax

Post Reply
mhdside
Posts: 236
Joined: 04 May 2008, 07:57
Location: Egypt

setting player index at smartfox.joinRoom()

Post by mhdside »

I think it would be cool if I can set the player index as a parameter to the joinRoom() function so the player index can be ready when somebody receives userJoined event in a game room.

I want to make the player be able to choose his position, so I need this feature, otherwise I`ll rely on uservariables or other work arrounds which isn't clean and robust as if it was possible to set the player index initially.

is it possible?
Mahmoud Badri
Senior actionscript developer
http://www.el3ab.com
Post Reply