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


}
[-] The following 1 user says Thank You to tonymamoni1 for this post:
  • d0h!
  Reply
#2
nice idea
  Reply
#3
Y U NO like campers? Fuu
[Image: veovuq.png]
[-] The following 1 user says Thank You to Yamato for this post:
  • alvarogt95
  Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)