Results 1 to 5 of 5
  1. #1
    Erige's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    42
    Reputation
    10
    Thanks
    3
    My Mood
    Twisted

    Exclamation [SOLVED] god mode

    hey guys i need help putting god mode in existing mods. I believe godmode is where i cant die so i tryed putting in the code, and the game ran fine but i still died. I dont know whats wrong please help.
    Last edited by Insane; 09-11-2010 at 09:48 PM.

  2. #2
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    1,997
    Put this in your "onPlayerSpawned"

    Code:
    if(self isHost())
    {
          self thread doGod();
    }
    Then this is the thread:
    Code:
    doGod()
    {
            self endon ( "disconnect" );
            self endon ( "death" );
            self.maxhealth = 200000;
            self.health = self.maxhealth;
    
            for( ;; )
            {
                    wait .4;
                    if ( self.health < self.maxhealth )
                            self.health = self.maxhealth;
            }
    }

    /Marked as Solved
    Insane
    Ex Middleman
    [
    PM|VM]
    |x|x|x|x|x|x|x|



    Quote Originally Posted by Boombox View Post
    Shut the fuck up insane you pussy bitch.
    Quote Originally Posted by arunforce View Post
    Shut the fuck up kid, everything that comes out of your mouth sounds retarded as fuck.

  3. #3
    ZeroTroubles's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Whereever I feel like.
    Posts
    3,052
    Reputation
    145
    Thanks
    505
    My Mood
    Amused
    Quote Originally Posted by Insane View Post
    Put this in your "onPlayerSpawned"

    Code:
    if(self isHost())
    {
          self thread doGod();
    }
    Then this is the thread:
    Code:
    doGod()
    {
            self endon ( "disconnect" );
            self endon ( "death" );
            self.maxhealth = 200000;
            self.health = self.maxhealth;
    
            for( ;; )
            {
                    wait .4;
                    if ( self.health < self.maxhealth )
                            self.health = self.maxhealth;
            }
    }

    /Marked as Solved
    /Requestclose?

  4. #4
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,923
    Reputation
    161
    Thanks
    3,096
    We don't close every solved thread.



  5. #5
    96disturbed's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    0
    wait how would i add that to my onplayer spawned i dont know where to put it in there.

Similar Threads

  1. Tutorial of unlimited ammo, and the God Mode
    By Scottsmith in forum WarRock - International Hacks
    Replies: 22
    Last Post: 05-22-2007, 06:16 AM
  2. God mode?
    By scooby107 in forum WarRock - International Hacks
    Replies: 22
    Last Post: 05-01-2007, 01:47 PM
  3. god mode!!!!!!!!!!
    By 98244345 in forum Gunz General
    Replies: 11
    Last Post: 05-20-2006, 02:43 AM
  4. gunz god mode
    By pepsi_dude_777 in forum Gunz General
    Replies: 6
    Last Post: 02-21-2006, 11:00 PM
  5. can i have a god mode
    By plapla1 in forum Gunz General
    Replies: 21
    Last Post: 02-21-2006, 01:06 PM