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: random money (
/showthread.php?tid=452150)
random money -
Anak - 20.07.2013
ahh..
Re: random money -
JimmyCh - 20.07.2013
If you got something for random money like.. amount or something
Lets say u got randommoney = amount
It would be like this:
pawn Code:
new msg[60];
format(msg, sizeof(msg), "*You have been given $%d!", amount);
GivePlayerMoney(playerid, amount);
SendClientMessage(playerid, -1, msg);
Re: random money -
Anak - 20.07.2013
oh.. my bad.. my string value was less thats why i could not see that money in message .. lol thanks anyways