18.12.2010, 17:16
Hi,i've a trouble:
This is the code given to me in my another topic,i've edited a bit.
Now the problem is:
If im not logged in but i can spawn anyway,wtf?
Код:
public OnPlayerRequestSpawn(playerid) { if(IsLogged[playerid] == 1) { return 1; } else ForceClassSelection(playerid); return SendClientMessage(playerid, COLOR_YELLOW, "ERROR: You can't spawn,maybe you arent registered or logged in.Use /register or /login"); }
Now the problem is:
If im not logged in but i can spawn anyway,wtf?