[help!]i wanna make a cooldown
#6

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?
Reply


Messages In This Thread
[help!]i wanna make a cooldown - by mladen - 28.10.2010, 11:31
Re: [help!]i wanna make a cooldown - by mladen - 28.10.2010, 12:02
Re: [help!]i wanna make a cooldown - by Kyle - 28.10.2010, 12:13
Re: [help!]i wanna make a cooldown - by LarzI - 28.10.2010, 12:17
Re: [help!]i wanna make a cooldown - by Kyle - 28.10.2010, 12:18
Re: [help!]i wanna make a cooldown - by LarzI - 28.10.2010, 12:20
Re: [help!]i wanna make a cooldown - by mladen - 28.10.2010, 12:25
Re: [help!]i wanna make a cooldown - by iJumbo - 28.10.2010, 12:28
Re: [help!]i wanna make a cooldown - by Kyle - 28.10.2010, 12:34
Re: [help!]i wanna make a cooldown - by LarzI - 28.10.2010, 12:44

Forum Jump:


Users browsing this thread: 1 Guest(s)