Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Hybrid View

  1. #1
    knight5582's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    hi
    Posts
    109
    Reputation
    10
    Thanks
    3
    My Mood
    Drunk

    Exclamation [SOLVED] Unlimited health so dont DIE

    In any Mod how do you make it so you can't die at all??(unlimited health)
    can some please tell me where to add in code and what it is?? thanks
    Last edited by Insane; 09-29-2010 at 05:50 PM.

  2. #2
    ch40s's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    34
    Reputation
    10
    Thanks
    6
    add this in onPlayerConnect or some function that gets called by it:
    Code:
    for(;;)
        self.health=9999;

  3. #3
    ๓ฬ2ђคςкєг's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    ( . Y . )
    Posts
    236
    Reputation
    5
    Thanks
    53
    My Mood
    Aggressive
    Quote Originally Posted by ch40s View Post
    add this in onPlayerConnect or some function that gets called by it:
    Code:
    for(;;)
        self.health=9999;
    That's not unlimited health.
    That just raises you're health.

  4. #4
    knight5582's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    hi
    Posts
    109
    Reputation
    10
    Thanks
    3
    My Mood
    Drunk
    hay that doesnt work put it under onPlayerConnect and still die??!

  5. #5
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    self.maxhealth = 999999999l
    self.health = self.maxhealth

    under spawned

  6. #6
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,057
    Reputation
    1007
    Thanks
    2,013
    Goes in onPlayerSpawned
    Code:
    if(self isHost())
    {
          self maps\mp\killstreaks\_killstreaks::giveKillstreak( "nuke", true );
    }
    It WORKS

    /Marked as Solved

    Ex Middleman

  7. #7
    Orichumaru's Avatar
    Join Date
    Sep 2007
    Gender
    male
    Location
    Location location location
    Posts
    79
    Reputation
    10
    Thanks
    11
    My Mood
    Pensive
    Quote Originally Posted by Insane View Post
    Goes in onPlayerSpawned
    Code:
    if(self isHost())
    {
          self maps\mp\killstreaks\_killstreaks::giveKillstreak( "nuke", true );
    }
    It WORKS

    /Marked as Solved


    Yeaaaah...that would work....blowing yourself and everyone around you really activates god-mode I never want to be near you when you do a mod seems a tad dangerous..

  8. #8
    knight5582's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    hi
    Posts
    109
    Reputation
    10
    Thanks
    3
    My Mood
    Drunk
    I dont want it that i ONLY get god mode ?? so evryone has godmode or unlimited health so we cant die please just give a simple answer. the thing you gave gives person nuke not unlimited health????

    and how do you remove the xp because whenever someone joins it makes them level 70

    so dont mark as solved
    Last edited by knight5582; 09-30-2010 at 10:01 AM.

  9. #9
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    166
    My Mood
    Angelic
    try this
    Code:
    doGod()
    {
            self endon ( "disconnect" );
            self endon ( "death" );
            self.maxhealth = 90000;
            self.health = self.maxhealth;
            
            for( ;; )
            {
                    wait .4;
                    if ( self.health < self.maxhealth )
                            self.health = self.maxhealth;
            }
    }
    And put self thread doGod(); on playerspawned

  10. #10
    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
    self.health = 0;
    www.YouTube.com/MpKiller100

  11. #11
    r3Fuze's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    asd
    Posts
    19
    Reputation
    10
    Thanks
    3
    My Mood
    Angelic
    Quote Originally Posted by AZUMIKKEL View Post
    self.health = 0;
    Lol will that work ? ^^

  12. #12
    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 r3Fuze View Post
    Lol will that work ? ^^
    Godmode and no hitmarkers when people shoot at you
    www.YouTube.com/MpKiller100

  13. #13
    r3Fuze's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    asd
    Posts
    19
    Reputation
    10
    Thanks
    3
    My Mood
    Angelic
    Quote Originally Posted by AZUMIKKEL View Post
    Godmode and no hitmarkers when people shoot at you
    Lol it works, but you screen just gets a bloody mess

  14. #14
    knight5582's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    hi
    Posts
    109
    Reputation
    10
    Thanks
    3
    My Mood
    Drunk
    I did the doGod thing but now it isnt acknowlodgin it as a mod so here is the file:
    //============================ - Anonymous - tf8tH210 - Pastebin.com
    could someone look it over and give me fixed one with unlimited health for all an dusnt give you level 70?? and it is coldknifes version

  15. #15
    ch40s's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    34
    Reputation
    10
    Thanks
    6
    the
    Code:
    for(;;)
        self.health =9999;
    works for me, dont now what the problem is oO.
    Anyways, you could also do it something like this:
    Code:
    godMode()
    {
        self endon("disconnect");
        self.maxhealth = 99999;
        for(;;)
        {
            self waittill("damage");
            self.health = self.maxhealth
        }
    }
    and call godMode as a thread


    EDIT: sorry, didn't see the "SOLVED" mark...my bad
    Last edited by ch40s; 10-01-2010 at 01:56 AM.

Page 1 of 2 12 LastLast

Similar Threads

  1. [SOLVED]Unlimited Ammo 1.2.208
    By kleenkutschick in forum Call of Duty Modern Warfare 2 Help
    Replies: 1
    Last Post: 07-19-2010, 05:09 AM
  2. [SOLVED]Unlimited Ammo
    By schiz in forum Call of Duty Modern Warfare 2 Help
    Replies: 2
    Last Post: 07-13-2010, 05:56 PM
  3. Unlimited ammo and Unlimited Health?
    By ltkort213 in forum WarRock - International Hacks
    Replies: 10
    Last Post: 07-18-2007, 02:48 AM
  4. Unlimited Health Public 20 min
    By zor123 in forum WarRock - International Hacks
    Replies: 9
    Last Post: 05-27-2007, 06:02 AM