SA-MP Forums Archive
help with 3 commands - 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: help with 3 commands (/showthread.php?tid=174929)



help with 3 commands - StyleR - 07.09.2010

how can i make an ban/warn and kick command to ban just every 30 seconds ?
please help tnx


Re: help with 3 commands - StyleR - 07.09.2010

how??


Re: help with 3 commands - BaFTa - 12.09.2010

Ban and Kick - Ok
But I want to make Warn system..


Re: help with 3 commands - PinkFloydLover - 12.09.2010

ok you want to ban someone every 30 seconds?
when you ask for help please put more effort into presenting your question


Re: help with 3 commands - Retardedwolf - 12.09.2010

base.pwn/amx

Its included in server package.


Re: help with 3 commands - Andy_McKinley - 12.09.2010

Styler, I don't get this, how you want to kick/ban someone every 30 seconds? 3 cmds?


Re: help with 3 commands - Hiddos - 12.09.2010

Obviously people, use your brain. Anyone could figure out that he wants admins only to be able to ban/kick somebody once every 30 seconds.

Set a variable when the player executes the command succesfully, along with a timer of 30 seconds to re-set this variable. Also, don't forget to check if the player already executed this command when he attempts to do it again.