Help With Money from 60$ to 800$ how?
#5

Quote:
Originally Posted by (.Aztec);
Посмотреть сообщение
pawn Код:
stock GiveRandomAmount(playerid)
{
new RandomAMT = random(800);
if(random >= 60 && random <= 800) { GivePlayerMoney(playerid, random); }
return 1;
}
As far as I know, this should work.
Ha. ha. ha. (!). And what do you do when RandomAMT is < 60?

pawn Код:
stock RandomMoney()
{
     return (60+random(741));
}

GivePlayerMoney(playerid, RandomMoney() );
Reply


Messages In This Thread
Help With Money from 60$ to 800$ how? - by vakhtang - 16.08.2010, 17:27
Re: Help With Money from 60$ to 800$ how? - by (.Aztec); - 16.08.2010, 17:41
Re: Help With Money from 60$ to 800$ how? - by Carlton - 16.08.2010, 17:43
Re: Help With Money from 60$ to 800$ how? - by vakhtang - 16.08.2010, 17:45
Re: Help With Money from 60$ to 800$ how? - by Vince - 16.08.2010, 18:30

Forum Jump:


Users browsing this thread: 1 Guest(s)