Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website. For more mapping and modding information, see our Wiki: MODSonWiki.com
//////////////No Run Added////////////////// runner() { level endon("ex_gameover"); self endon("disconnect"); self endon("ex_dead"); a = 0; for(;;) { position = self getorigin(); wait 5; compareposition = self getorigin(); ren = distance(position,compareposition); uuu = self [[level.ex_getstance]](false); //******First Offense**************** if(uuu == 0 && ren > 500 && a==0) self iprintlnBold("^1STOP Running^7 " + self.name + " ^1Or Your Weapon Will Be Disabled!" ); if(uuu == 0 && ren > 500) a=a+1; //********Second Offense************** if(uuu == 0 && ren > 500 && a==2) self iprintlnBold(self.name + " ^12nd Running Warning, ^7Weapon disabled for ^14 seconds!"); if(uuu == 0 && ren > 500 && a==2) self disableWeapon(); wait 4; if(uuu == 0 && ren > 500 && a==2) self enableWeapon(); //**********Third Offense*************** if(uuu == 0 && ren > 500 && a==3) self iprintlnBold(self.name + " ^1LAST WARNING, ^7You Dropped Your weapon"); if(uuu == 0 && ren > 500 && a==3) self thread extreme\_ex_weapons::dropcurrentweapon(); //**********Sixth Offense*************** if(uuu == 0 && ren > 500 && a==4) self iprintlnBold(self.name + " ^1You have been kicked for running! You may rejoin ^7IF^1 you follow server rules!!"); if(uuu == 0 && ren > 500 && a==4) iprintln(self.name + " ^1 has been kicked for constant running!!"); wait 3; if(uuu == 0 && ren > 500 && a==4) kick(self getEntityNumber()); } }