SA-MP Forums Archive
How can i do random ... - 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 can i do random ... (/showthread.php?tid=162518)



How can i do random ... - Ihsan_Cingisiz - 23.07.2010

Hello, how can i already do that if the player types
/play that he get random cash..


Re: How can i do random ... - FUNExtreme - 23.07.2010

https://sampwiki.blast.hk/wiki/GivePlayerMoney
https://sampwiki.blast.hk/wiki/Random


Re: How can i do random ... - Gamer_Z - 23.07.2010

and if u want minimal amount and max:
pawn Код:
stock random2(min,max){
new x = max-min;
x = random(x);
x+=min;
return x;
}