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: money (
/showthread.php?tid=372601)
money -
CrazyChoco - 27.08.2012
Hai How can i do it like if a player just do:
/money, then he just get a random amount of money between 30000 - 50000 and in zcmd
pawn Код:
CMD:money(playerid, params[])
{
// I want the code here, but i simply dont know how to make it randommly
return 1;
}
any ideas, ? i look forward :3
Re: money -
CrazyChoco - 27.08.2012
anyone, is it simple or
Re: money -
Cena44 - 27.08.2012
posted in the wrong topic, sorry my mistake
Re: money -
thefatshizms - 27.08.2012
Re: money -
lamarr007 - 27.08.2012
Wrong.
pawn Код:
CMD:money(playerid, params[])
{
GivePlayerMoney(playerid, 30000 + random(20000));
return 1;
}
Re: money -
CrazyChoco - 27.08.2012
ahh ty