how do i make a cooldown for anti cmd spam?
#1

I was wondering how to make a 1 second cooldown before using ANY command again..


For example - I've used a command '/help', and if i input another command before a second passes, it will send me a message "ERROR: You need to wait 1 second before using any command again."



and, a timer of 45 seconds aswell? for a particular command..



I'm new to pawn.. i'm not aware of all the functions.. SA-MP FORUMS is my teacher for now.. THANK YOU.
Reply


Messages In This Thread
how do i make a cooldown for anti cmd spam? - by div - 19.06.2018, 02:34
Re: how do i make a cooldown for anti cmd spam? - by kovac - 19.06.2018, 02:45
Re: how do i make a cooldown for anti cmd spam? - by Gameluner - 19.06.2018, 03:38

Forum Jump:


Users browsing this thread: 1 Guest(s)