I am trying to have users join a room as spectators via server side.
The room is created with following parameters:
Code: Select all
var TABLE_ROOM_PARAMS = {
name:"GameRoom",
isGame:true,
maxU:4, // Set in creation
maxS:9999, // Set in creatioin
isLimbo:false,
uCount:true,
xtName:"RoomExt",
xtClass:"RoomFunTable.as"
}; Code: Select all
var spectator = true;
_server.joinRoom(user, oldId, leaveOld, roomId, null, false, true, null, spectator);The user.isSpectator() returns always false, and when 4 players are there, user can't join.
Am I missing something?
thank you very much