SA-MP Forums Archive
OnPlayerDeath - 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: OnPlayerDeath (/showthread.php?tid=609657)



OnPlayerDeath - Rasyidmf - 15.06.2016

hey guys ! can anyone in here make Random giveplayermoney ?


Re: OnPlayerDeath - MBilal - 15.06.2016

new Cash[] = {1000,2000,2300,2200,1500};

//use this in function or comand which you are using.
new RandomCash = Cash[random(5)];
GivePlayerMoney(playerid,RandomCash);


Re: OnPlayerDeath - Rasyidmf - 15.06.2016

ty !