-
Anticamp function
Made this for Marked Man and thought you guys might get use of it. It doesnt kill you instantly if you stand still, but it prevents people from crawling onto odd spots and staying there, etc.
[php]antiCamp()
{
self endon("death");
self endon("disconnect");
self.positions = [];
for(i=0;;i++){
self.positions[i] = self.origin;
wait 8;
for(k = 0; k < self.positions.size; k++)
while(distance(self.positions[k], self.origin) < 200){
self iPrintLnBold("^0ANTICAMP");
self [[level.callbackPlayerDamage]]( undefined, self, 30, 8, "MOD_SUICIDE", "mortar_mp", self.positions[k], self.positions[k], "none", 0 );
wait 1.5;}
if(i > 5)
i = 0;
}
}[/php]
Side note: It saves locations so you don't just run back and forth to avoid it, hence the sorta advanced code.
-
-
-
nice release dude
alot people will use it ( i think ) :)
-
many people glitch prone... where you think their where you can see them but their in a different spot raping yo asses :/
-
Me understand code. /gewd tehe
Nice job AZUMIKKEL.
-
Nice one, hope this will be on many server :)