01.02.2014, 06:22
Quote:
If you put it at OnPlayerCommandText it must be on the top and the check must return 0;
What that code does is it stores in a variable when the player is able to send a command again (current time + 500 MS). If the player sends a command before that time, it will add another 500 MS to the time and will not allow him to send the command. |