[HELP] Random ID
#1

Hi guys.
I want convert the following code to random ID.
And is not the ID of 0 to 10.
Код:
stock GetPlayersInTeam(TEAM)
{
    new players;
    for (new i; i < MAX_PLAYERS; i++)
    {
        if (IsPlayerConnected(i))
        {
            if (gTeam[i] == TEAM) players++;
        }
    }
    return players;
}
Thanks
Reply


Messages In This Thread
[HELP] Random ID - by MRM - 24.03.2016, 12:01
Re: [HELP] Random ID - by Golden96 - 24.03.2016, 13:04
Re: [HELP] Random ID - by MRM - 24.03.2016, 13:10
Re: [HELP] Random ID - by Golden96 - 24.03.2016, 13:21
Re: [HELP] Random ID - by MRM - 24.03.2016, 13:51
Re: [HELP] Random ID - by Nero_3D - 24.03.2016, 16:20
Re: [HELP] Random ID - by SickAttack - 24.03.2016, 16:33
Re: [HELP] Random ID - by MRM - 24.03.2016, 16:52
Re: [HELP] Random ID - by Vince - 24.03.2016, 17:18
Re: [HELP] Random ID - by MRM - 24.03.2016, 19:47

Forum Jump:


Users browsing this thread: 3 Guest(s)