[Ajuda] Pegar 2 Players aleatoriamente
#4

PHP код:
stock randomplayer()
{
    new 
0wGetMaxPlayers();
    static 
Conectados[MAX_PLAYERS];
    while(
y)
    {
        if(
IsPlayerConnected(z))
        {
            
Conectados[w] = z;
            
w++;
        }
        
z++;
    }
    return !
? -Conectados[random(w)];

http://forum.sa-mp.com/showpost.php?...&postcount=610
Reply


Messages In This Thread
[Ajuda] Pegar 2 Players aleatoriamente - by brunim - 10.08.2011, 21:15
Re: [Ajuda] Pegar 2 Players aleatoriamente - by RockFire - 10.08.2011, 22:10
Re: [Ajuda] Pegar 2 Players aleatoriamente - by [S]trong - 10.08.2011, 22:14
Re: [Ajuda] Pegar 2 Players aleatoriamente - by Shadoww5 - 10.08.2011, 22:39
Re: [Ajuda] Pegar 2 Players aleatoriamente - by [S]trong - 10.08.2011, 22:41
Re: [Ajuda] Pegar 2 Players aleatoriamente - by Shadoww5 - 10.08.2011, 22:45
Re: [Ajuda] Pegar 2 Players aleatoriamente - by [S]trong - 10.08.2011, 22:47
Re: [Ajuda] Pegar 2 Players aleatoriamente - by Shadoww5 - 11.08.2011, 08:07
Re: [Ajuda] Pegar 2 Players aleatoriamente - by [S]trong - 11.08.2011, 09:44
Re: [Ajuda] Pegar 2 Players aleatoriamente - by Ricop522 - 11.08.2011, 14:37

Forum Jump:


Users browsing this thread: 1 Guest(s)