OnPlayerRequestSpawn, help me please
#2

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;
}
Reply


Messages In This Thread
OnPlayerRequestSpawn, help me please - by handerson - 24.06.2011, 02:51
Re: OnPlayerRequestSpawn, help me please - by dr.pepper - 24.06.2011, 03:16

Forum Jump:


Users browsing this thread: 2 Guest(s)