28.10.2010, 12:20
No you didn't make it fine, actually.
Cuz what happens (ignore my code, that's wrong too) is that you set that variable to 10 everytime the command is called, so if a player tries to spam it, he would have to wait ANOTHER 10 seconds.
If he haven't waited precisely 10 seconds or more, he will have to wait another 10 seconds..
And you want to stop the decreasement. Why continue a loop for 30 minutes when it's no longer used?
Cuz what happens (ignore my code, that's wrong too) is that you set that variable to 10 everytime the command is called, so if a player tries to spam it, he would have to wait ANOTHER 10 seconds.
If he haven't waited precisely 10 seconds or more, he will have to wait another 10 seconds..
And you want to stop the decreasement. Why continue a loop for 30 minutes when it's no longer used?

