30.12.2010, 02:46
Make a public variable.
then underneath OnPlayerSpawn()
Under OnPlayerConnect()
That /reclass command and OnPlayerDeath()
pawn Код:
SpawnType[MAX_PLAYERS];
pawn Код:
if(SpawnType[playerid] == 1)
{
// Whatever you want to do here
return 1;
}
pawn Код:
SpawnType[playerid] = 1;
pawn Код:
SpawnType[playerid] = 0;