(adsbygoogle = window.adsbygoogle || []).push({});
This is a toggle for an auto kicker which kicks a person if they are not verified within 15 seconds of spawning.
It is off by default so your patch will remain Stealth.
Add this to init
level.AutoKicker = 0;
Add this to onPlayerConnect
player.IsGonnaGetKick=false;
and add this to onPlayerSpawned
self thread AutoKicker();
AutoKicker() /*Credits To d7w7*/
{
if (level.AutoKicker==1&&self.IsGonnaGetKick==false&&self.IsVerified==false){
self.IsGonnaGetKick=true;
wait 15.0;
if (self.IsVerified==false) {
kick( self getEntityNumber()); } }
}
LevelAutoKickerToggle()
{
if (level.AutoKicker==0) {
self iPrintln("Auto Kicker On");
level.AutoKicker = 1;
} else {
self iPrintln("Auto Kicker Off");
level.AutoKicker = 0;
} }
NOTE - Remember to change self.IsVerified to fit your verification system or it will just kick everyone!
credtis to d7w7 for making this code.
ive posted this as he asked me to as his post count isnt high enough.