Need some help with team balancer
#4

pawn Код:
public OnPlayerRequestClass(playerid, classid)    
{
    new notclicked;
    for(new x=0; x < MAX_TEAMS; x++)
    {
        if(clickedid != Teams[x]) notclicked = x;
        if(clickedid == Teams[x])
        {
            if(TeamCount[x] > TeamCount[notclicked]) return SendClientMessage(playerid, RED, "This team is full.");
            SetPlayerTeam(playerid, x);
            return 0;
         }
        return 1;
}/
try this
Reply


Messages In This Thread
Need some help with team balancer - by LocMax - 01.10.2014, 19:07
Re: Need some help with team balancer - by LocMax - 04.10.2014, 08:33
Re: Need some help with team balancer - by YanLanger - 04.10.2014, 08:37
Re: Need some help with team balancer - by MasonSFW - 04.10.2014, 08:38
Re: Need some help with team balancer - by LocMax - 04.10.2014, 08:48

Forum Jump:


Users browsing this thread: 1 Guest(s)