Message Limit - 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: Message Limit (
/showthread.php?tid=297707)
Message Limit -
cotyzor - 17.11.2011
I would like to put a limit on some key pressed, that if the player several times press "H" I want to don't spam the chat with "barrier will open" (or whatever ...)
Re: Message Limit -
cruising - 17.11.2011
Quote:
Originally Posted by cotyzor
I would like to put a limit on some key pressed, that if the player several times press "H" I want to don't spam the chat with "barrier will open" (or whatever ...)
|
I guess a timer would be good for that, but im not sure
Re: Message Limit -
=WoR=G4M3Ov3r - 17.11.2011
Add a 2 minute timer.
https://sampwiki.blast.hk/wiki/SetTimer