key binder
#7

Use a bool variable and set it true and off.
The technique is whenever the player uses keybinder you set it to true and you use SetTimerEx after x milliseconds you set it to false. Inside the dialog/command whatever check if the bool is true if it's true send a message to the player saying you can't spam or return 0.

I hope I helped any feedback is appreciated!
Reply


Messages In This Thread
key binder - by keyvanik - 16.06.2015, 15:02
Re: key binder - by arlindi - 16.06.2015, 15:05
Re: key binder - by keyvanik - 16.06.2015, 15:06
Re: key binder - by DarkLored - 16.06.2015, 15:21
Re: key binder - by keyvanik - 16.06.2015, 15:26
Re: key binder - by [XST]O_x - 16.06.2015, 15:36
Re: key binder - by Stanford - 16.06.2015, 16:16

Forum Jump:


Users browsing this thread: 1 Guest(s)