SA-MP Forums Archive
Cash every 5 minutes - 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: Cash every 5 minutes (/showthread.php?tid=126007)



Cash every 5 minutes - Thomash - 06.02.2010

hi, i'm looking for a function that gives 500$ every 5 minutes to all online players on server, it is possible? please


Re: Cash every 5 minutes - Moglizorz. - 06.02.2010

You want to create a timer, which you can look into on the SA-MP wiki.
You then want to do
Quote:

GivePlayerMoney(playerid, +500);

for the timer.