8 Numbers - need them split in two, randomly
#5

Quote:
Originally Posted by Shadoww5
Посмотреть сообщение
This works perfectly:
you didn't read the post...


Okay ******, the 8 player id data is not selected, but given. as in 8 random players went on top of a building to race,
so they have all checked in and setup themselves for the race

given that playerid's are say.. 7,32,12,52,24,16,3 order by check-in right? the 8 values will be stored in a global variable

pawn Код:
new Var[8], Count;
public OnPlayerCheckin(playerid)
{
    Var[Count] = playerid;
    Count++;
    return 1;
}
so Var[ 0 - 7 ] has the playerid's stored, now i need to select 4 of them (randomly) and output the remaining 4
Reply


Messages In This Thread
8 Numbers - need them split in two, randomly - by Donya - 19.07.2011, 20:30
Re: 8 Numbers - need them split in two, randomly - by lolumadd_ - 19.07.2011, 20:36
Re: 8 Numbers - need them split in two, randomly - by Donya - 19.07.2011, 20:42
Re: 8 Numbers - need them split in two, randomly - by Shadoww5 - 19.07.2011, 21:03
Re: 8 Numbers - need them split in two, randomly - by Donya - 19.07.2011, 22:27
Re: 8 Numbers - need them split in two, randomly - by Gamer_Z - 19.07.2011, 22:56
Re: 8 Numbers - need them split in two, randomly - by Donya - 19.07.2011, 23:12
AW: Re: 8 Numbers - need them split in two, randomly - by Nero_3D - 19.07.2011, 23:28

Forum Jump:


Users browsing this thread: 1 Guest(s)