24.06.2011, 03:16
return 0; goes here: how to make player cannot spawn
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
SetPlayerToTeamColour(playerid);
if(classid == 2 || classid == 5 || classid == 8 || classid == 11)
{
if(GetPlayerScore(playerid) < 110)
{
return 0; // how to make player cannot spawn
}
return 1;
}