Thread Rating:
  • 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 8,316 08-11-2013, 17:07
Last Post: SuperNovaAO
  kPromod 7 Release (Yes, its still going.) koil 0 3,601 07-27-2013, 10:01
Last Post: koil
Rainbow [Release] BadWords xtreme2010 9 8,551 06-13-2013, 12:57
Last Post: xtreme2010
Star [Release] xKMod LIVE v1.1 - Final Release | Competitive Mod XeroK 1,375 881,785 05-05-2013, 19:14
Last Post: ulli_123
Brick [Release] Health on HUD (no crash :D) xtreme2010 3 6,211 04-21-2013, 00:20
Last Post: CHRISLUVMSR
Brick [Release] Updated server addon release (solid models) estebespt 51 26,907 12-10-2012, 20:24
Last Post: JariZ
  [release] Slender Mod tonymamoni1 6 7,642 12-10-2012, 18:06
Last Post: Stormzy123
  [Request] anyway to release more info from MW3'S FF files? tomglazer 3 4,381 12-08-2012, 10:39
Last Post: Nekochan
Brick [Request] anyway to release more info from MW3'S FF files? tomglazer 1 2,534 12-07-2012, 09:30
Last Post: JariZ
  Bound [Release] tonymamoni1 0 2,585 10-11-2012, 02:21
Last Post: tonymamoni1

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.