Random player
#2

It's easy

Код:
#include <a_samp>
#include <foreach>

foreach(new i: Player)// Efficient loop to get all players
{
   new random(i) // you are now selecting a random person
   // and now it's upon you what u want to do with guy.

}
Reply


Messages In This Thread
Random player - by Mrcroissant - 25.02.2016, 08:40
Re: Random player - by HydraHumza - 25.02.2016, 08:48
Re: Random player - by SamJust - 25.02.2016, 08:48
Re: Random player - by Mrcroissant - 25.02.2016, 09:02
Re: Random player - by IstuntmanI - 25.02.2016, 11:05

Forum Jump:


Users browsing this thread: 1 Guest(s)