Code:
stock GetRandomPlayer()
{
new randomPlayer = INVALID_PLAYER_ID;
do
{
randomPlayer = random(GetPlayerPoolSize() 1);
}
while (!IsPlayerConnected(randomPlayer));
return randomPlayer;
}
[Pawn] Random Player
|
Messages In This Thread |
Random Player - by Lord_Bukake - 2021-02-23, 04:42 PM
RE: Random Player - by destiezk - 2021-02-23, 05:24 PM
RE: Random Player - by Radical - 2021-02-23, 08:15 PM
RE: Random Player - by Lord_Bukake - 2021-02-24, 04:47 PM
|