Posts: 2,200
Threads: 14
Joined: Apr 2009
Reputation:
0
gPlayerLogged[playerid] obviously isn't 1
Also by that way of execution OnPlayerSpawn will be called twice, first time before the debug print and the second time after the player requests spawn. You could use SpawnPlayer(playerid) though
Posts: 950
Threads: 168
Joined: Mar 2009
Reputation:
0
SpawnPlayer(playerid); <- Works