SA-MP Forums Archive
Use script for 1 time per day - 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: Use script for 1 time per day (/showthread.php?tid=251167)



Use script for 1 time per day - KaneSky - 25.04.2011

so i want to make a vip system but its possible to make a script like /takemoney working just 1 time and after 24 hours works again?Thx all who trying to help me!
EDIT:Uhmmm i'm new in these things maybe you can help me?After that i make next scripts after first and i give credits.Add my YahhoMessenger:edy97_mi@yahoo.com


Re: Use script for 1 time per day - miokie - 25.04.2011

Create a variable which stores a date for the player, get the date with GetDate and if todays date is different to the already stored one then give them the money and store the current date over the old date.