Teambalance?
#2

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(classid == 0)
    {
    if(Team1Count > Team2Count)
    {
        SendClientMessage(playerid, COLOR_RED, "Please, join the other team to balance the teams.");
        GameTextForPlayer(playerid,"~r~RED ~w~TEAM",1000,5);
    }
    else if(classid == 1)
    {
    if(Team2Count > Team1Count)
    {
        GameTextForPlayer(playerid,"~b~BLUE ~w~TEAM",1000,5);
        SendClientMessage(playerid, COLOR_RED, "Please, join the other team to balance the teams.");
    }
    return 1;
}
If this is not working try your version.
Reply


Messages In This Thread
Teambalance? - by geerdinho8 - 31.05.2011, 20:43
Re: Teambalance? - by SpiderWalk - 31.05.2011, 20:49
Re: Teambalance? - by geerdinho8 - 31.05.2011, 21:44
Re: Teambalance? - by Joe Staff - 31.05.2011, 22:18
Re: Teambalance? - by geerdinho8 - 01.06.2011, 09:23
Re: Teambalance? - by Biesmen - 01.06.2011, 09:27
Re: Teambalance? - by geerdinho8 - 01.06.2011, 09:52
Re: Teambalance? - by geerdinho8 - 01.06.2011, 12:23
Re: Teambalance? - by Raimis_R - 01.06.2011, 12:27

Forum Jump:


Users browsing this thread: 1 Guest(s)