How to use this - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to use this (
/showthread.php?tid=122186)
How to use this -
JoeDaDude - 20.01.2010
How do i use this:
https://sampwiki.blast.hk/wiki/Random on cash
So like, Rather than random spawns, Its random cash,
How would i do that? What would i edit or whatever
Re: How to use this -
Correlli - 20.01.2010
pawn Код:
GivePlayerMoney(playerid, random(maxcell));
Re: How to use this -
JoeDaDude - 20.01.2010
I leave the name, RandomSpawn and stuff the same? Or what?
Re: How to use this -
Correlli - 20.01.2010
How about if you check the example i gave you. Just put your value in it.
Re: How to use this -
JoeDaDude - 20.01.2010
Dont quite understand
Re: How to use this -
MadeMan - 20.01.2010
Quote:
|
Originally Posted by JoeDaDude
I leave the name, RandomSpawn and stuff the same? Or what?
|
No, don't need it, just that 1 line will work.
Re: How to use this -
Correlli - 20.01.2010
pawn Код:
GivePlayerMoney(playerid, random(5000));
So this code will give money to player in a random value from 0 to 4999.
Re: How to use this -
JoeDaDude - 20.01.2010
oh ty