Results 1 to 9 of 9
  1. #1
    adyson_19's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    28
    Reputation
    10
    Thanks
    0
    My Mood
    Bitchy

    i need some help here !!

    i have this code
    Code:
    doShow()
    {
            self endon("disconnect");
            anticampoff  = self createFontString("hudbig", 0.4);
            anticampon  = self createFontString("hudbig", 0.4);
            self notifyOnPlayerCommand( "UPARROW", "+lookup" );
    if( level.gametype != "dm"&&level.gametype != "war"&&level.gametype != "oitc" )
    	 {	
              wait .5;
    	  anticampoff setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
              anticampoff setText("^1*^7**^1A^7nti^1C^7amp is ^1OFF^7**^1*");
              wait 1;}
    if( level.gametype == "dm" || level.gametype == "war" || level.gametype == "oitc" )
    	 {	
              wait .5;
    	  anticampon setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
              anticampon setText("^1*^7**^1A^7nti^1C^7amp is ^1ON^7**^1*");
              wait 1;}
    if(self isHost()) 
    {
      self waittill( "UPARROW" );
      wait .5;
      announcement("^1**^7The ^1Anti^7-^1Camp ^7system is ^1OFF^7!!^1**");
           level.anticamp = 0;
           wait .5;
                  anticampoff setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
           anticampoff setText("^1*^7**^1A^7nti^1C^7amp is ^1OFF^7**^1*");
           anticampon destroy();
    }
    wait 600;
    }
    and i want that when i ( the host) press the UPARROW button to do this for all the players.Not just for the host !!
    Code:
     wait .5;
      announcement("^1**^7The ^1Anti^7-^1Camp ^7system is ^1OFF^7!!^1**");
           level.anticamp = 0;
           wait .5;
                  anticampoff setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
           anticampoff setText("^1*^7**^1A^7nti^1C^7amp is ^1OFF^7**^1*");
           anticampon destroy();

  2. #2
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,668
    My Mood
    Breezy
    wait 600? You sure about that?
    Code:
    doShow()
    {
        self endon("disconnect");
        anticampoff  = self createFontString("hudbig", 0.4);
        anticampon  = self createFontString("hudbig", 0.4);
        self notifyOnPlayerCommand( "UPARROW", "+lookup" );
        level.anticamp = 0;
        
        if( level.gametype != "dm" && level.gametype != "war" && level.gametype != "oitc" )
        {    
            wait .5;
            anticampoff setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
            anticampoff setText("^1*^7**^1A^7nti^1C^7amp is ^1OFF^7**^1*");
            wait 1;
        }
        
        if( level.gametype == "dm" || level.gametype == "war" || level.gametype == "oitc" )
        {    
            wait .5;
            anticampon setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
            anticampon setText("^1*^7**^1A^7nti^1C^7amp is ^1ON^7**^1*");
            level.anticamp = 1;
            wait 1;
        }
        
        if(self isHost()) 
        {
            self waittill( "UPARROW" );
            wait .5;
            announcement("^1**^7The ^1Anti^7-^1Camp ^7system is ^1OFF^7!!^1**");
            level.anticamp = 0;
        }
        
        for(;;)
        {
            if(level.anticamp == 0)
            {
                wait .5;
                anticampoff setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
                anticampoff setText("^1*^7**^1A^7nti^1C^7amp is ^1OFF^7**^1*");
                anticampon destroy();
                wait 0.01;
                break;
            }
            wait 0.01;
        }
        wait 600;
    }
    Last edited by master131; 09-21-2010 at 02:16 AM.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  3. #3
    adyson_19's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    28
    Reputation
    10
    Thanks
    0
    My Mood
    Bitchy
    i'm sure because i call this thread at "onPlayer Connect " and i use it just once !! If is something wrong please corect me !!

  4. #4
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,668
    My Mood
    Breezy
    It's better to use it at onPlayerSpawned. If you want to use it on onPlayerConnect make sure you use:
    player thread doShow();

    If you are using it under onPlayerSpawned use:
    self thread doShow();
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  5. The Following User Says Thank You to master131 For This Useful Post:

    adyson_19 (09-21-2010)

  6. #5
    kerocx's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    79
    Reputation
    10
    Thanks
    6
    Why would u need wait 600 for onPlayerConnect, i always thought it wasnt looping ?

  7. #6
    zxz0O0's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    209
    Reputation
    10
    Thanks
    138
    My Mood
    Aggressive
    If you want something for all players do this
    Code:
    foreach(player in level.players)
    {
    blablabal
    }
    like
    Code:
    if(self isHost()) 
    {
      self waittill( "UPARROW" );
      wait .5;
    foreach(player in level.players)
    {
      announcement("^1**^7The ^1Anti^7-^1Camp ^7system is ^1OFF^7!!^1**");
           level.anticamp = 0;
           wait .5;
                  anticampoff setPoint("TOPRIGHT", "TOPRIGHT", -5, 21);
           anticampoff setText("^1*^7**^1A^7nti^1C^7amp is ^1OFF^7**^1*");
           anticampon destroy();
    }
    }
    Also after the anticamp setText I would add a wait 3 or wait 4 because now it wont even show the text. It just deletes it. And its anticampon destroyElem(); not just destroy();

  8. #7
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,668
    My Mood
    Breezy
    I don't think using announcement is a good idea for all players to do then EVERYONE will announce the same message and lag the server.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  9. #8
    adyson_19's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    28
    Reputation
    10
    Thanks
    0
    My Mood
    Bitchy
    i have a new chalenge for you guys !
    take a look at this
    Code:
    doOwnCamper()
    {
            self endon("disconnect");
    		self endon("death");
    	currentWeapon = self getCurrentWeapon();
    for(;;)
    {
    	 wait 1;
             if( level.gametype == "dm" || level.gametype == "war" || level.gametype == "oitc" )
             {
                  if(level.anticamp==0)
    		{
    			self waittill("level.anticamp==1");
    		}
    
    
    			self.before = self getorigin();
    			wait 5;
    			self.after = self getorigin();
    			currentWeapon = self getCurrentWeapon();
    				if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator")  ) {
    				self iPrintlnBold("^1*^7*^1M^7ove your ass or you  will be killed in ^15.^7*^1*");
    self.health = int(self.health / 2);
    				wait 1;
    				self.after = self getorigin();
                         currentWeapon = self getCurrentWeapon();
    				if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator")  ) {
    				self iPrintlnBold("^1*^7*^1M^7ove your ass or you  will be killed in ^14.^7*^1*");
    self.health = int(self.health / 2);
    				wait 1;
    				self.after = self getorigin();
                         currentWeapon = self getCurrentWeapon();
    				if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator")  ) {
    				self iPrintlnBold("^1*^7*^1M^7ove your ass or you  will be killed in ^13.^7*^1*");
    self.health = int(self.health / 2);
    				wait 1;
    				self.after = self getorigin();
                         currentWeapon = self getCurrentWeapon();
    				if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator")  ) {
    				self iPrintlnBold("^1*^7*^1M^7ove your ass or you  will be killed in ^12.^7*^1*");
    self.health = int(self.health / 2);
    				wait 1;
    				self.after = self getorigin();
                         currentWeapon = self getCurrentWeapon();
    				if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator")  ) {
    				self iPrintlnBold("^1*^7*^1M^7ove your ass or you  will be killed in ^11.^7*^1*");
    				wait 1;
    				self.after = self getorigin();
                         currentWeapon = self getCurrentWeapon();
    				if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator")  ) {
    				self iPrintlnBold(" ^1*^7*^1You ^7got killed for ^1camping^7*^1*");
                                    iPrintln("^1" + (self.name) + "^7 got killed for ^1camping ^7too long!");
    				self suicide();
    								}
    							}
    						}
    					}
    				}
    			}
                 wait 0.5;
               }
    wait 0.5;
    }	
    }
    i want this script stop looping when a players have final stand and he is down(after you shoot him 4 times..he stays down for 20 sec - i dont want to kill him for camping !)
    can u do that for me ! i dont know the code for that !

  10. #9
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    Quote Originally Posted by adyson_19 View Post
    i have a new chalenge for you guys !
    take a look at this
    Code:
    doOwnCamper()
    {
            self endon("disconnect");
    		self endon("death");
    	currentWeapon = self getCurrentWeapon();
    for(;;)
    {
    	 wait 1;
             if( level.gametype == "dm" || level.gametype == "war" || level.gametype == "oitc" )
             {
                  if(level.anticamp==0)
    		{
    			self waittill("level.anticamp==1");
    		}
    
    
    			self.before = self getorigin();
    			wait 5;
    			self.after = self getorigin();
    			currentWeapon = self getCurrentWeapon();
    				if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator")  ) {
    				self iPrintlnBold("^1*^7*^1M^7ove your ass or you  will be killed in ^15.^7*^1*");
    self.health = int(self.health / 2);
    				wait 1;
    				self.after = self getorigin();
                         currentWeapon = self getCurrentWeapon();
    				if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator")  ) {
    				self iPrintlnBold("^1*^7*^1M^7ove your ass or you  will be killed in ^14.^7*^1*");
    self.health = int(self.health / 2);
    				wait 1;
    				self.after = self getorigin();
                         currentWeapon = self getCurrentWeapon();
    				if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator")  ) {
    				self iPrintlnBold("^1*^7*^1M^7ove your ass or you  will be killed in ^13.^7*^1*");
    self.health = int(self.health / 2);
    				wait 1;
    				self.after = self getorigin();
                         currentWeapon = self getCurrentWeapon();
    				if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator")  ) {
    				self iPrintlnBold("^1*^7*^1M^7ove your ass or you  will be killed in ^12.^7*^1*");
    self.health = int(self.health / 2);
    				wait 1;
    				self.after = self getorigin();
                         currentWeapon = self getCurrentWeapon();
    				if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator")  ) {
    				self iPrintlnBold("^1*^7*^1M^7ove your ass or you  will be killed in ^11.^7*^1*");
    				wait 1;
    				self.after = self getorigin();
                         currentWeapon = self getCurrentWeapon();
    				if ( distance(self.before, self.after) < 220&&!isSubStr( self getCurrentWeapon(), "ac130")&&!isSubStr( self getCurrentWeapon(), "remote")&&!isSubStr( self getCurrentWeapon(), "predator")  ) {
    				self iPrintlnBold(" ^1*^7*^1You ^7got killed for ^1camping^7*^1*");
                                    iPrintln("^1" + (self.name) + "^7 got killed for ^1camping ^7too long!");
    				self suicide();
    								}
    							}
    						}
    					}
    				}
    			}
                 wait 0.5;
               }
    wait 0.5;
    }	
    }
    i want this script stop looping when a players have final stand and he is down(after you shoot him 4 times..he stays down for 20 sec - i dont want to kill him for camping !)
    can u do that for me ! i dont know the code for that !
    Disable death streaks.
    Make a _class.gsc with this
    https://pastebin.com/Lv0U2p4J
    www.YouTube.com/MpKiller100

Similar Threads

  1. I need some help here
    By Landid in forum General
    Replies: 39
    Last Post: 11-01-2010, 10:09 PM
  2. plz i need some help here
    By *Ex* in forum CrossFire Discussions
    Replies: 6
    Last Post: 10-21-2010, 10:25 AM
  3. need some help here
    By masterao in forum WarRock Discussions
    Replies: 3
    Last Post: 08-25-2010, 08:31 AM
  4. [SOLVED]Need Some Help Here
    By KiZZx in forum Alliance of Valiant Arms (AVA) Help
    Replies: 3
    Last Post: 08-21-2010, 06:59 AM
  5. Hello! Need some help here!
    By Rossvelt in forum Battlefield Heroes Hacks
    Replies: 5
    Last Post: 01-18-2010, 09:44 AM