RandonPlayer

Started by Luis_Labarca, Dec 27, 2016, 09:58 AM

Previous topic - Next topic

Luis_Labarca

Hello I come to see if I could help

well what I want is to make a player in an indicated worldeID randon
I want to choose the randon player to the random to someone that has the if(player.World == 3)
My server RP
IP: 51.222.28.159:8194

vito

create empty array
loop all players to check their world
push player's id in that array if player.world == 3
get random item of that array you have created http://forum.vc-mp.org/?topic=246.msg2638#msg2638

Luis_Labarca

My server RP
IP: 51.222.28.159:8194

jWeb


Radon

Quote from: jWeb on Dec 28, 2016, 02:59 PMHere's one. totally randon http://forum.vc-mp.org/?action=profile;u=1365
ROFL, that's not Randon, you maybe wanted to miss a N near A and D. :D