Welcome, Guest.

Author Topic: [Gmod] Psuedo MaxHP  (Read 240 times)

Offline HOTD

  • Super Moderator
  • Level 2 - Newb
  • *
  • Posts: 37
    • View Profile
[Gmod] Psuedo MaxHP
« on: January 25, 2018, 01:00:11 pm »
Get the current hp the for entity and set it as the maxHP, if currhp goes higher than maxhp(player healed), readjust the maxhp. Even though you cant pull the actual maxHP, you can still set a theoretical max so that other features with still work(%HP Thresholds for aimbot, smart filter targeting, healthbars). Thanks.

Online KittoniuM

  • Administrator
  • Level 7 - Wtf User
  • *
  • Posts: 980
    • View Profile
Re: [Gmod] Psuedo MaxHP
« Reply #1 on: January 25, 2018, 05:33:21 pm »
When admins set their HP manually to 1203109 it will screw it up for all other players.

Offline HOTD

  • Super Moderator
  • Level 2 - Newb
  • *
  • Posts: 37
    • View Profile
Re: [Gmod] Psuedo MaxHP
« Reply #2 on: January 26, 2018, 02:19:18 am »
When admins set their HP manually to 1203109 it will screw it up for all other players.
You cant set individual maxhps for each ent/player?

Online KittoniuM

  • Administrator
  • Level 7 - Wtf User
  • *
  • Posts: 980
    • View Profile
Re: [Gmod] Psuedo MaxHP
« Reply #3 on: January 26, 2018, 01:59:09 pm »
You cant set individual maxhps for each ent/player?

With my framework I can, so you want it to be something like this?


Code: [Select]
if player's hp is over his max hp
player's max hp = players hp

and he will keep that max hp until he dies?

Offline HOTD

  • Super Moderator
  • Level 2 - Newb
  • *
  • Posts: 37
    • View Profile
Re: [Gmod] Psuedo MaxHP
« Reply #4 on: March 08, 2018, 06:57:25 pm »
With my framework I can, so you want it to be something like this?


Code: [Select]
if player's hp is over his max hp
player's max hp = players hp

and he will keep that max hp until he dies?

Yes, this is exactly what I need, also do this for your personal health bar as well.




Total Members


  • Youtube Youtube
  • Facebook Facebook
  • Twitter Twitter
  • Steam Steam

  • Powered by SMF | SMF © 2018, Simple Machines

    2018 BigPackets. All rights reserved. All other trademarks, logos and copyrights are the property of their respective owners. This site is not associated with any company in any way.