21.08.2009, 13:37
How would i disable the player on spawning before he registers?, like what command or function can i use for that ?
Originally Posted by will_92
How would i disable the player on spawning before he registers?, like what command or function can i use for that ?
|
if(gPlayerLogged[playerid] == 0) { Kick(playerid); }
public OnPlayerRequestSpawn(playerid)
{
if(!isLogged[playerid]) return 0;
return 1;
}
Originally Posted by CrαcK
pawn Код:
|
new Registed[MAX_PLAYERS];
Registed[playerid] = 0;
Registed[playerid] = 1;
if(Registed[playerid] == 0)
{
SendClientMessage(playerid,RED,"ERROR: Please register/login first!");
return 0;
}