in handleInternalEvent(evt) room.properties.put HOW ?!?!?

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

Moderators: Lapo, Bax

Post Reply
kotbegemot
Posts: 82
Joined: 21 Nov 2010, 05:05
Location: Saint-Petersburg

in handleInternalEvent(evt) room.properties.put HOW ?!?!?

Post by kotbegemot »

cant put room properties in handleInternalEvent.

i need to room.properties.put("gameStatus",'isStop');

after userLost..... PLEASE HELP. (Smartfox 1.6.9);
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

See http://www.smartfoxserver.com/docs/docP ... erLost.htm

Grab the roomIds property, and get the first element of the array which will return the previoiusly joined room id. Use that id to get the room.
Smartfox's forum is my daily newspaper.
Post Reply