Random choose
#6

Quote:
Originally Posted by SumX
Посмотреть сообщение
so ...I have this command:randomgivemoney

PHP код:
#include <a_samp>
#include <ZCMD>
#include <foreach>
CMD:randomgivemoney
{
    
Iter_Random(Player);
    
GivePlayerMoney(Player,5000);
    return 
1;

It's this right?
Actually, this is correct:
PHP код:
CMD:randomgivemoney
{
    new 
randomplayer;
    
randomplayer Iter_Random(Player);
    
GivePlayerMoney(randomplayer,5000);
    return 
1;

Reply


Messages In This Thread
Random choose - by SumX - 17.09.2012, 16:20
Re: Random choose - by XtremeR - 17.09.2012, 16:31
Re: Random choose - by detter - 17.09.2012, 16:38
Re: Random choose - by DeathTone - 17.09.2012, 16:43
Re: Random choose - by SumX - 17.09.2012, 16:50
Re: Random choose - by DeathTone - 17.09.2012, 16:52
Re: Random choose - by SumX - 17.09.2012, 16:53

Forum Jump:


Users browsing this thread: 1 Guest(s)