31.01.2013, 00:39
i don't get dis how i make a spawn command?
like dis
You must Spawn to use dis command.
like dis
You must Spawn to use dis command.
i don't get dis how i make a spawn command? |
new bool:pSpawn[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
pSpawn[playerid] = false;
return 1;
}
public OnPlayerSpawn(playerid)
{
pSpawn[playerid] = true;
return 1;
}
if(!pSpawn[playerid]) return SendClientMessage(playerid, -1, "ERROR: You must Spawn to use this command.");
Like this:
pawn Код:
pawn Код:
|