okey people, i changed some stuff and finally completely removed
that old "get_user_wonid" function.
should be working now, but i haven't tested it.
compiles fine with AMXx 0.20 TP4 without any errors/warnings.
here's a short explanation of the CVARs that you can add to your amxx.cfg
Code:
* CVAR explanation:
* rm_maxupdr - max cl_updaterate a normal client can have (default 36)
* rm_minupdr - min cl_updaterate a normal client can have (default 12)
* rm_maxrate - max rate and cl_rate a normal client can have (default 9216 = 9kb)
* rm_minrate - min rate and cl_rate a normal client can have (default 3072 = 3kb)
* rm_exclmaxupdr - max cl_updaterate an excluded client can have (default 60)
* rm_exclminupdr - min cl_updaterate an excluded client can have (default 24)
* rm_exclmaxrate - max rate and cl_rate an excluded client can have (default 15360 = 15kb)
* rm_exclminrate - min rate and cl_rate an excluded client can have (default 6144 = 6kb)
* rm_delay - delay in seconds between checking clients (default 20 seconds)
* rm_deadratio - lower dead players net setting to this ratio of default net settings (default 0.4 = 40%)
* rm_localping - plugin will exclude clients who have ping equal or lower than this value (default 0)
* rm_ignoreip - plugin will exclude clients whose IP is listed with this command
* rm_ignoresteamid - plugin will exclude clients whose steamID is listen with this command
* rm_announce - toggle announcing plugin actions on and off (default 1 = on)
* rm_hello - toggle displaying plugin info to connecting players (default 1 = on)
read the header of the source file for more info.