23.10.2011, 15:49
Try using this
You need to return 0 so the player can't spawn.
Код:
public OnPlayerRequestSpawn(playerid) { if(Logged[playerid] == 0) { SendClientMessage(playerid,red,"ERROR: You must log in before spawning."); return 0; //Making sure the player won't spawn. } //Player is logged, so they sawn. return 1; }