05.05.2009, 17:42
Hai Guys,
How Would I Do It So That Only 1 Person Can Spawn As Team_PM
Reguards Kyle
How Would I Do It So That Only 1 Person Can Spawn As Team_PM
Reguards Kyle
new TeamPM;
TeamPM = 0;
if(TeamPM == 0)
{
TeamPM = 1;
//ASSIGN THE TEAM HERE.
}
else
{
SendClientMessage(playerid,Color,"Theres already somebody on that team.");
}
public OnPlayerRequestSpawn(playerid)
{
if(GetPlayerSkin(playerid) == SKINID_OF_TEAM && TeamPM == 1)
{
SendClientMessage(playerid,Color,"Theres already somebody on that team.");
return 0;
}
return 1;
}