SA-MP Forums Archive
Can someone help. - 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: Can someone help. (/showthread.php?tid=91517)



Can someone help. - Studio - 15.08.2009

eerr.. I was wondering how i could make a suspend command but i failed..
Can someone make me a suspend command for L-admin please i need it if it is possible...

And the Usage is
USAGE: /suspend [id] [Hours] [Reason]


Re: Can someone help. - Correlli - 15.08.2009

Ask in script request topic.


Re: Can someone help. - iLinx - 15.08.2009

you need to make a calander system or something , a time system ingame so that when you when you type say /suspend 24 and it suspends them for 24 hours, it will get the current time and find what time it will be in 24 hours, and set that hour and date in a variable in the save file.
make a timer to check every min or 5 min and compare the time to the player variables, and if the time is up make it set it to -1 or something