Welcome, Guest.

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

Offline HOTD

  • Veteran
  • *
  • Posts: 49
    • 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.

Offline HOTD

  • Veteran
  • *
  • Posts: 49
    • View Profile
Re: [Gmod] Psuedo MaxHP
« Reply #1 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?

Offline HOTD

  • Veteran
  • *
  • Posts: 49
    • View Profile
Re: [Gmod] Psuedo MaxHP
« Reply #2 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 Registered Members:





2017-2023 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.