11.09.2011, 18:34
Title says it all, I have been trying a few different methodes by making a normale stock to get a Random playerid, but it seems alot more complicated than it actually looks like.
This code choses a random number from 0 to 10.
But what I want is to get a random number from the connected players, heres an example:
List of 4 connected players.
And my question is: How would it be possible to get a random number from 0, 2, 3 or 5?
pawn Код:
new rPlayerid = random(10);
But what I want is to get a random number from the connected players, heres an example:
List of 4 connected players.
Код:
0. Debby 2. Mike 3. Kyle 5. Jack