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

Offline HOTD

  • Veteran
  • Noob Level 2
  • *
  • Posts: 30
    • 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
  • Packet Master
  • *
  • Posts: 568
    • Credits: 1337
    • 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

  • Veteran
  • Noob Level 2
  • *
  • Posts: 30
    • 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
  • Packet Master
  • *
  • Posts: 568
    • Credits: 1337
    • 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

  • Veteran
  • Noob Level 2
  • *
  • Posts: 30
    • 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