Player loops
#6

pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
{
    if(Variable[i] == 1 && GeneralVariable >= 4) // IsPlayerConnected(i) isn't necessary, for each player that has Variable[playerid] = 1; do GeneralVariable++; and if the player that had Variable[playerid] = 1; is then set to 0 do GeneralVariable--;
    {
        // Timer
    }
}
Reply


Messages In This Thread
Player loops - by Garr - 01.04.2014, 05:06
Re: Player loops - by Sascha - 01.04.2014, 08:04
Re: Player loops - by Garr - 02.04.2014, 04:22
Re: Player loops - by Polki - 02.04.2014, 05:15
Re: Player loops - by Garr - 02.04.2014, 05:33
Re: Player loops - by SickAttack - 02.04.2014, 05:46
Re: Player loops - by RajatPawar - 02.04.2014, 13:00
Re: Player loops - by BroZeus - 02.04.2014, 14:06

Forum Jump:


Users browsing this thread: 1 Guest(s)