Quote:
Originally Posted by fysiks
He did it correctly with "less than" because he's using the reverse logic from how I stated it (i.e. he's denying the the use of the function if the elapsed time is less than the required time).
|
Ohh, yeah, I didn't notice that.
Quote:
Originally Posted by blood2k
Yeah, I thought it was done the way fysiks mentioned. I honestly look around on google, and the amxx wiki to figure out how to get any of this to work as I don't really know much about it..
But I'm still stuck with making it block EVERYONE.
Some1 mentioned up to turn the last_used array into an integer
not really sure how I'd do this as I'm total noob at this stuff lol
|
last_used is array of integers and it is fine, since as I understand you want every player to be able to execute it once per 2 minutes, right?! Also this must work, I don't see any problems with it.