[HELP] How to set a time interval
Hello,
This morning I've quickly created a little plugin: Code:
#include <amxmodx>more than one time in those 5 minutes, you will get banned. Unfortunately, I didn't find a method to create this yet. |
Re: [HELP] How to set a time interval
See default plugin antiflood, it does exactly what you want.
But your plugin is NOT about name change, it is about chat abuse. |
Re: [HELP] How to set a time interval
Thanks, I'm gonna try.
Edit: I have now imported the things out of antiflood.sma but I can't really set a definite time of 5 minutes. Tried many things and it gags me kinda randomly. For example I set the amx_namespam_time to "300" and right after I connect I can "SPAM" 3-4 times without any gag. Then I get gagged. Usually I should only be able to say it one time, then 2nd time -> gag. Code:
#include <amxmodx> |
| All times are GMT -4. The time now is 23:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.