Will this work?
#7

Let me translate that for you:
pawn Код:
if(playerOnline >= 2 && playerOnline <= 8)
{
   if(GetTeamPlayersAlive(TEAM_RED) >= 0 && GetTeamPlayersAlive(TEAM_RED) <= 3)
   {
       TeamBalance();
   }
}

if the variable "playerOnline" is above or equal to 2 AND if the variable "playerOnline" is below or equal to 3 => CONTINUE SEQUENCE
{
    if the condition "GetTeamPlayersAlive(TEAM_RED)" is above or equal to 0 AND if the condition "GetTeamPlayersAlive(TEAM_RED)" is below or equal to 3 => CONTINUE SEQUENCE
    {
        if all the conditions above are TRUE => PERFORM "TeamBalance();"
    }
}
It depends on what the variable "playerOnline" holds.
Reply


Messages In This Thread
Will this work? - by Blackazur - 24.05.2015, 01:40
Re: Will this work? - by LMaxCo - 24.05.2015, 01:42
Re: Will this work? - by SickAttack - 24.05.2015, 01:57
AW: Will this work? - by Blackazur - 24.05.2015, 02:02
Re: AW: Will this work? - by SickAttack - 24.05.2015, 02:03
AW: Will this work? - by Blackazur - 24.05.2015, 02:05
Re: Will this work? - by SickAttack - 24.05.2015, 02:13
AW: Will this work? - by Blackazur - 24.05.2015, 02:36
Re: AW: Will this work? - by SickAttack - 24.05.2015, 02:45
AW: Will this work? - by Blackazur - 24.05.2015, 03:01

Forum Jump:


Users browsing this thread: 3 Guest(s)