19.07.2011, 22:27
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
so Var[ 0 - 7 ] has the playerid's stored, now i need to select 4 of them (randomly) and output the remaining 4
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;
}