18.02.2013, 18:41
pawn Код:
new bool:spawned[MAX_PLAYERS]=false;
OnPlayerSpawn(playerid..)
{
spawned[playerid]=true;
}
OnPlayerCommandText(playerid.....)
{
if(spawned[playerid]==true){
//All your commands
}
else SendClientMessage(playerid, 0xFFFFFF, "You have to spawn to use any commands.");
}