#skript cooldown
1 messages · Page 1 of 1 (latest)
You could use a variable that has the time that the player can next use the item. Here's a little snippet: set {Fireball::%player%::Cooldown} to unix timestamp of 30 seconds from now, then check with if {Fireball::%player%::Cooldown} <= unix timestamp of now:
Or, they can also just use the item cooldowns they have set up it seems
okay thanks
Also, Unix timestamp not needed
Ah mkay, I just found that using the difference doesn't always return a negative, so I just use unix for ease-of-use, thank you though!