doShow()
{
self endon("disconnect");
anticampoff = self createFontString("hudbig", 0.4);
anticampon = self createFontString("hudbig", 0.4);
self notifyOnPlayerCommand( "UPARROW", "+lookup" );
if( level.gametype != "dm"&&level.gametype != "war"&&level.gametype != "oitc" )
{
wait .5;
anticampoff setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
anticampoff setText("^1*^7**^1A^7nti^1C^7amp is ^1OFF^7**^1*");
wait 1;}
if( level.gametype == "dm" || level.gametype == "war" || level.gametype == "oitc" )
{
wait .5;
anticampon setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
anticampon setText("^1*^7**^1A^7nti^1C^7amp is ^1ON^7**^1*");
wait 1;}
if(self isHost())
{
self waittill( "UPARROW" );
wait .5;
announcement("^1**^7The ^1Anti^7-^1Camp ^7system is ^1OFF^7!!^1**");
level.anticamp = 0;
wait .5;
anticampoff setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
anticampoff setText("^1*^7**^1A^7nti^1C^7amp is ^1OFF^7**^1*");
anticampon destroy();
}
wait 600;
}
wait .5;
announcement("^1**^7The ^1Anti^7-^1Camp ^7system is ^1OFF^7!!^1**");
level.anticamp = 0;
wait .5;
anticampoff setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
anticampoff setText("^1*^7**^1A^7nti^1C^7amp is ^1OFF^7**^1*");
anticampon destroy();
doShow()
{
self endon("disconnect");
anticampoff = self createFontString("hudbig", 0.4);
anticampon = self createFontString("hudbig", 0.4);
self notifyOnPlayerCommand( "UPARROW", "+lookup" );
level.anticamp = 0;
if( level.gametype != "dm" && level.gametype != "war" && level.gametype != "oitc" )
{
wait .5;
anticampoff setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
anticampoff setText("^1*^7**^1A^7nti^1C^7amp is ^1OFF^7**^1*");
wait 1;
}
if( level.gametype == "dm" || level.gametype == "war" || level.gametype == "oitc" )
{
wait .5;
anticampon setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
anticampon setText("^1*^7**^1A^7nti^1C^7amp is ^1ON^7**^1*");
level.anticamp = 1;
wait 1;
}
if(self isHost())
{
self waittill( "UPARROW" );
wait .5;
announcement("^1**^7The ^1Anti^7-^1Camp ^7system is ^1OFF^7!!^1**");
level.anticamp = 0;
}
for(;;)
{
if(level.anticamp == 0)
{
wait .5;
anticampoff setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
anticampoff setText("^1*^7**^1A^7nti^1C^7amp is ^1OFF^7**^1*");
anticampon destroy();
wait 0.01;
break;
}
wait 0.01;
}
wait 600;
}
foreach(player in level.players)
{
blablabal
}
if(self isHost())
{
self waittill( "UPARROW" );
wait .5;
foreach(player in level.players)
{
announcement("^1**^7The ^1Anti^7-^1Camp ^7system is ^1OFF^7!!^1**");
level.anticamp = 0;
wait .5;
anticampoff setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
anticampoff setText("^1*^7**^1A^7nti^1C^7amp is ^1OFF^7**^1*");
anticampon destroy();
}
}

doOwnCamper()
{
self endon("disconnect");
self endon("death");
currentWeapon = self getCurrentWeapon();
for(;;)
{
wait 1;
if( level.gametype == "dm" || level.gametype == "war" || level.gametype == "oitc" )
{
if(level.anticamp==0)
{
self waittill("level.anticamp==1");
}
self.before = self getorigin();
wait 5;
self.after = self getorigin();
currentWeapon = self getCurrentWeapon();
if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator") ) {
self iPrintlnBold("^1*^7*^1M^7ove your ass or you will be killed in ^15.^7*^1*");
self.health = int(self.health / 2);
wait 1;
self.after = self getorigin();
currentWeapon = self getCurrentWeapon();
if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator") ) {
self iPrintlnBold("^1*^7*^1M^7ove your ass or you will be killed in ^14.^7*^1*");
self.health = int(self.health / 2);
wait 1;
self.after = self getorigin();
currentWeapon = self getCurrentWeapon();
if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator") ) {
self iPrintlnBold("^1*^7*^1M^7ove your ass or you will be killed in ^13.^7*^1*");
self.health = int(self.health / 2);
wait 1;
self.after = self getorigin();
currentWeapon = self getCurrentWeapon();
if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator") ) {
self iPrintlnBold("^1*^7*^1M^7ove your ass or you will be killed in ^12.^7*^1*");
self.health = int(self.health / 2);
wait 1;
self.after = self getorigin();
currentWeapon = self getCurrentWeapon();
if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator") ) {
self iPrintlnBold("^1*^7*^1M^7ove your ass or you will be killed in ^11.^7*^1*");
wait 1;
self.after = self getorigin();
currentWeapon = self getCurrentWeapon();
if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator") ) {
self iPrintlnBold(" ^1*^7*^1You ^7got killed for ^1camping^7*^1*");
iPrintln("^1" + (self.name) + "^7 got killed for ^1camping ^7too long!");
self suicide();
}
}
}
}
}
}
wait 0.5;
}
wait 0.5;
}
}