• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release]Camper Prevention
#1
I made this real quick for my new mod menu, it makes a icon on your minimap when someone camps

Code:
CamperPrevention()//add to onplayerspawned
{
        self endon("disconnect");
        self endon("death");
        precacheShader( "compass_waypoint_target" );
        for(;;)
        {
             self.crnt = self.origin;
             wait 15;
             if( Distance( self.crnt, self.origin )<80 )
             {
                   objective_add( 1, "active", self.origin );
                   objective_icon( 1, "compass_waypoint_target" );
                   notifyData = spawnStruct();
                   notifyData.titleText = "^2"+self.name+" Is A Gay Camper";
                   notifyData.notifyText = "^7Look At your Mini Map To Find The camper";
                   notifyData.duration = 6;
                   notifyData.sound = "mp_challenge_complete";
                   self maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
                   self endon("death")
                   for(;;)
                   {
                         objective_position( 1, self.origin );
                         wait 0.2;
                   }
         }
}


}
  Reply
#2
nice idea
  Reply
#3
Y U NO like campers? Fuu
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Huge Release.. Host lobbies with a BAN camxxcore 11 7,688 08-11-2013, 17:07
Last Post: SuperNovaAO
  kPromod 7 Release (Yes, its still going.) koil 0 3,388 07-27-2013, 10:01
Last Post: koil
Rainbow [Release] BadWords xtreme2010 9 7,934 06-13-2013, 12:57
Last Post: xtreme2010
Star [Release] xKMod LIVE v1.1 - Final Release | Competitive Mod XeroK 1,375 805,270 05-05-2013, 19:14
Last Post: ulli_123
Brick [Release] Health on HUD (no crash :D) xtreme2010 3 5,937 04-21-2013, 00:20
Last Post: CHRISLUVMSR
Brick [Release] Updated server addon release (solid models) estebespt 51 23,929 12-10-2012, 20:24
Last Post: JariZ
  [release] Slender Mod tonymamoni1 6 7,180 12-10-2012, 18:06
Last Post: Stormzy123
  [Request] anyway to release more info from MW3'S FF files? tomglazer 3 4,046 12-08-2012, 10:39
Last Post: Nekochan
Brick [Request] anyway to release more info from MW3'S FF files? tomglazer 1 2,330 12-07-2012, 09:30
Last Post: JariZ
  Bound [Release] tonymamoni1 0 2,357 10-11-2012, 02:21
Last Post: tonymamoni1

Forum Jump:


Users browsing this thread: 1 Guest(s)