Post: anti camp function
12-09-2010, 12:18 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); It doesnt kill you instantly if you stand still, but it prevents people from crawling onto odd spots and staying there, etc.


    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;
}
}


Side note: It saves locations so you don't just run back and forth to avoid it, hence the sorta advanced code.


MADE BY AZUMIKKEL
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked kane212 for this useful post:

Cole MacGrath
12-09-2010, 01:46 AM #2
A_Fast_Black_Guy
A.K.A BigDaddyMagnum
So you have to be host?
12-09-2010, 02:30 AM #3
karimkz
Space Ninja
thats so LOL
12-09-2010, 02:16 PM #4
You took this from another website... Please give credits or something-.-
12-09-2010, 08:00 PM #5
SuperSaiyanBiH
Error… Cat invasion!
Originally posted by kane212 View Post
It doesnt kill you instantly if you stand still, but it prevents people from crawling onto odd spots and staying there, etc.


    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;
}
}


Side note: It saves locations so you don't just run back and forth to avoid it, hence the sorta advanced code.



where would i put this or is this just for jail broken ps3's?:cry:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo