Delay before re-use
While I'm at my question spree, I might aswell throw this one in.
How does one make it so there is a certain delay between the use of a command? For example, the command punch makes it so that a certain user loses 35 hp. I want a 'SET' ammount of seconds it needs before you can punch again. I know it works some way with gametime and stuff but unfortunatly, my skills are still as much as of a ten year old script kiddy. Hmmkay? |
Re: Delay before re-use
I'm using so-called ACFP (Anti command-flood protection) routines I did for my needs. Might be helpful to you ...
Code:
To use it, I just call it like this: Code:
|
Re: Delay before re-use
Nope, seriously not working.
I'm trying this simple code: Code:
To tell ya the truth, this is for a quick 1 day zombie mod. Anyone got an idea why this code is wrong? Apparently it thinks it's 5 minutes or something cause it ain't working. |
| All times are GMT -4. The time now is 11:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.