Tomorrow I'll test it with players, 'cause I don't know how to repeat their flood.
And second packet hook I'll test too.
I'll write all results! Thanks for your attention!
*Updated in 20 minutes*
Guys, tell me please, can packet hook start some script?
I have an idea to make kicklist system and share it.
Fox example, after theese lines:
Code: Select all
var badrange := GetObjProperty(who, "BadRange");
if (!badrange)
SetObjProperty(who, "BadRange", 1);
return 0;
elseif(badrange > 5)
var bad_rng_count := GetObjProperty( who, "BadRangeCount" );
if( !bad_rng_count )
SetObjProperty(who, "BadRangeCount", 1);
elseif( bad_rng_count > 10 )
Start_Script(":kicklist:ext/kicking", { who, bad_rng_count });
Question is, can we add this into packethook?
With best regards!