[AJUDA] Random player.
#6

Quote:
Originally Posted by Larceny
Посмотреть сообщение
Para obter um jogador aleatуrio aconselho o uso de foreach, alйm de ser mais rбpido, ele lhe entrega o id de um jogador online. (Bem, ainda nгo testei, mas foi o que me contaram...)

pawn Код:
#include <foreach>
forward ReturnRandomPlayerID();
public ReturnRandomPlayerID()
{
    new randomplayer = Iter_Random(Player);
    return randomplayer;
}
Vocк pode encontrar a include aqui: https://sampforum.blast.hk/showthread.php?tid=92679
Ele nгo estб usando foreach pelo visto ..


Quote:
Originally Posted by Pharrel
Посмотреть сообщение
Olha minha cara de preocupaзгo >

ps: nem me deu vontade de ler seu comando.
Criticas sгo boas, lhe ajudam a te tornar uma melhor pessoa.
Parabйns por tentar ajudar, mas seu cуdigo nгo era bom, assuma seu erro
Reply


Messages In This Thread
[AJUDA] Random player. - by FreeGells - 07.09.2011, 01:26
Re: [AJUDA] Random player. - by Pharrel - 07.09.2011, 01:33
Re: [AJUDA] Random player. - by [H]ead - 07.09.2011, 01:42
Re: [AJUDA] Random player. - by Shelby - 07.09.2011, 01:44
Re: [AJUDA] Random player. - by Pharrel - 07.09.2011, 01:46
Re: [AJUDA] Random player. - by [H]ead - 07.09.2011, 01:46
Re: [AJUDA] Random player. - by [H]ead - 07.09.2011, 01:51
Re: [AJUDA] Random player. - by Pharrel - 07.09.2011, 01:53
Re: [AJUDA] Random player. - by [H]ead - 07.09.2011, 01:55
Re: [AJUDA] Random player. - by FreeGells - 07.09.2011, 01:56

Forum Jump:


Users browsing this thread: 1 Guest(s)