16.06.2015, 16:16
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!
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!

