Giving random money - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Giving random money (
/showthread.php?tid=560474)
Giving random money -
Ciarannn - 28.01.2015
When someone finishes a job, how do I give them $50 and then another amount of money that is random between $0-$40? So like, he could get $68 or something. So it's always random?
Re: Giving random money -
Ironboy - 28.01.2015
pawn Код:
new rcash = random(40);
GivePlayerMoney(playerid,rcash);