Random choice of players
#1

Can someone give me cmd which select one of all players in server? For example /select, ant it writes: Nickname was selected from all players.
Reply
#2

I think what ****** meant to say was:


If you use foreach, you can simply do:

pawn Код:
new pid = Iter_Random(Player);
Get foreach here: https://sampforum.blast.hk/showthread.php?tid=92679
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)