About room.getUserByName()

Post here your questions about the C++ API for SFS2X

Moderators: Lapo, Bax, MBagnati

prince_hao
Posts: 71
Joined: 30 Oct 2010, 04:35

About room.getUserByName()

Postby prince_hao » 26 Feb 2015, 10:00

Hi all:
Now, I have some doubts about room.getUserByName(). I'm sure the user in the room but i can not get the user by room.getUserByName().
Who can help me! thanks!
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: About room.getUserByName()

Postby Lapo » 27 Feb 2015, 09:34

You need to use the exact name in a case-sensitive fashion.
E.g. Kermit != kermit

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

Return to “SFS2X C++ API”

Who is online

Users browsing this forum: No registered users and 21 guests