Thread: No health regen

Results 1 to 7 of 7
  1. #1
    idiot2010's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    174
    Reputation
    9
    Thanks
    6
    My Mood
    Paranoid

    No health regen

    how to do it?
    and maybe some 1 may post HP hud? plox

  2. #2
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    showHealth()
    {
    Health = self createFontString( "default", 2.5 );
    Health setPoint( "TOPRIGHT", "TOPRIGHT", -5, 0);
    self thread Death(Health);

    while(1)
    {
    self.maxhealth = self.health;
    Health setText(self.health);
    wait 0.10;
    }
    }

    Death(elem);
    {
    self waittill("death");
    elem destroy();
    }

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

    idiot2010 (12-19-2010)

  4. #3
    idiot2010's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    174
    Reputation
    9
    Thanks
    6
    My Mood
    Paranoid
    tnx wut about no health regen, there is 100% a command for it, cuz u can set it in the server settings

  5. #4
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    It also makes it no regain.

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

    idiot2010 (12-19-2010)

  7. #5
    idiot2010's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    174
    Reputation
    9
    Thanks
    6
    My Mood
    Paranoid
    oh tnx so double thankes

  8. #6
    brand2000's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0
    My Mood
    Psychedelic
    and how to combine the health of 25 and no regeneration?? compact
    tired before each card put these values

  9. #7
    idiot2010's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    174
    Reputation
    9
    Thanks
    6
    My Mood
    Paranoid
    doMoreHealthRegen()
    {
    self endon ( "disconnect" );
    self endon ( "death" );

    self.maxhealth = 25;
    self.health = self.maxhealth;

    while ( 1 )
    {
    wait 10;
    if ( self.health < self.maxhealth )
    self.health = self.maxhealth;
    }

    }