Giving random money
#1

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?
Reply
#2

pawn Код:
new rcash = random(40);
GivePlayerMoney(playerid,rcash);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)