Thread: Off-Function?

Results 1 to 4 of 4
  1. #1
    ~Just IN~'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    self thread xbox360nolife() {
    Posts
    518
    Reputation
    11
    Thanks
    52
    My Mood
    Doh

    Off-Function?

    How would I make so I hit 5 to turn it on and 5 again to turn it off? My current one from master131 is not working.

    [php]doHostStuff()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
    self notifyOnPlayerCommand("5", "+actionslot 2");
    while(1) {
    self freezeControlsWrapper(false);
    self thread doHostCheats();
    self waittill("5");
    self iPrintlnBold("^5Host ^1Cheats ^4Activated.");
    self waittill("5"); //OFF part
    self VisionSetNakedForPlayer("default");
    self ThermalVisionFOFOverlayOff();
    self show();
    }
    }

    doHostCheats()
    {
    self hide();
    self ThermalVisionFOFOverlayOn();
    self VisionSetNakedForPlayer("thermal_mp");
    }[/php]

  2. #2
    prisma's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    236
    Reputation
    11
    Thanks
    42
    My Mood
    Amazed
    [php]doHostStuff()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
    self notifyOnPlayerCommand("5", "+actionslot 2");
    for(;
    {
    self freezeControlsWrapper(false);
    self waittill("5");
    self thread doHostCheatsOn();
    self iPrintlnBold("^5Host ^1Cheats ^4Activated.");
    self waittill("5"); //OFF part
    self thread doHostCheatsOff();
    }
    }

    doHostCheatsOn()
    {
    self hide();
    self ThermalVisionFOFOverlayOn();
    self VisionSetNakedForPlayer("thermal_mp");
    }

    doHostCheatsOff()
    {
    self show();
    self ThermalVisionFOFOverlayOff();
    self VisionSetNakedForPlayer( getDvar("mapname"), .1 );
    }[/php]

    Would be my way

  3. The Following User Says Thank You to prisma For This Useful Post:

    ~Just IN~ (11-07-2010)

  4. #3
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    You are joking right..
    Code:
    self freezeControlsWrapper(false); 
        self thread doHostCheats(); 
            self waittill("5"); 
            self iPrintlnBold("^5Host ^1Cheats ^4Activated."); 
            self waittill("5"); //OFF part 
            self VisionSetNakedForPlayer("default");
    ???
    Code:
    self freezeControlsWrapper(false); 
            self waittill("5"); 
    self thread doHostCheats(); 
            self iPrintlnBold("^5Host ^1Cheats ^4Activated."); 
            self waittill("5"); //OFF part 
            self VisionSetNakedForPlayer("default"); 
    ..etc

  5. #4
    TheLynx's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Sverige
    Posts
    366
    Reputation
    10
    Thanks
    42
    My Mood
    Happy
    Lolz i found it 2
    the [php]self VisionSetNakedForPlayer("default");[/php]
    it should be [php]self VisionSetNakedForPlayer(getDvar("map_name", 0));[/php]

  6. The Following User Says Thank You to TheLynx For This Useful Post:

    ~Just IN~ (11-07-2010)

Similar Threads

  1. Turn off aimbot function failing..
    By ~Just IN~ in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 0
    Last Post: 12-03-2010, 08:48 PM
  2. [OFF]Enter in NY server?
    By Gabriel in forum WarRock - International Hacks
    Replies: 24
    Last Post: 01-01-2007, 03:44 PM
  3. FUCK OFF ENDRIT we all HATE YOU
    By iverson954360 in forum Spammers Corner
    Replies: 6
    Last Post: 12-10-2006, 08:12 PM
  4. Administrators pissin me off.....
    By Scarface_21 in forum General Game Hacking
    Replies: 5
    Last Post: 10-29-2006, 01:40 PM
  5. Disable some of punkbuster's functions.
    By System79 in forum Game Hacking Tutorials
    Replies: 3
    Last Post: 09-06-2006, 11:32 PM