Team balancer
#1

nvm

nvm
Reply
#2

something like?
pawn Код:
switch(PlayerTeam[playerid]){
        case TEAM_POLICE:{
           if(Police > Terrorist)return !GameTextForPlayer(playerid, "~r~You must join Terrorist's", 3000, 5);
            else if(Police >= 10)return !GameTextForPlayer(playerid, "~r~Terrorist's is full", 3000, 5);
        }
        case TEAM_TERRORIST:{
            if(Terrorist > Police)return !GameTextForPlayer(playerid, "~r~You must join the Police", 3000, 5);
            else if(Terrorist >= 10)return !GameTextForPlayer(playerid, "~r~Terrorist's is full", 3000, 5);
        }
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)