max players in team
#5

OK thank you so here it is :

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(count > 2) return GameTextForPlayer(playerid,"~r~There are already 2 people on this team",5000,5);
    if(gTeam[playerid] == BODYGUARD)
    {
        count++;
    }
    return 1;
}
Is it here?
I want do 2 max only for bodyguard ...
Reply


Messages In This Thread
max players in team - by gereter - 20.12.2010, 20:42
Re: max players in team - by blackwave - 20.12.2010, 20:47
Re: max players in team - by gereter - 20.12.2010, 20:53
Re: max players in team - by WillyP - 20.12.2010, 20:54
Re: max players in team - by gereter - 20.12.2010, 20:57
Re: max players in team - by WillyP - 20.12.2010, 21:00
Re: max players in team - by gereter - 20.12.2010, 21:03
Re: max players in team - by blackwave - 20.12.2010, 21:06
Re: max players in team - by WillyP - 20.12.2010, 21:07
Re: max players in team - by gereter - 20.12.2010, 21:08

Forum Jump:


Users browsing this thread: 3 Guest(s)