Garry's Mod

Garry's Mod

Custom HP v2
77 Comments
JohnsonCereal986 15 Jul, 2024 @ 2:27am 
Addon works, but command of this addon don't works.
Isoternal 16 Feb, 2024 @ 5:06pm 
i was talking about the max health, not sure about the others
Isoternal 16 Feb, 2024 @ 5:05pm 
it works, but it resets whenever i respawn, is there a way you can add this/if its already added, how can i stop it from resetting?
ubre  [author] 2 Nov, 2023 @ 1:12pm 
Look up "Floating Point Overflow"
Бенито Хуйсолили 30 Oct, 2023 @ 2:02pm 
why when I write chp_maxhpvar and every number it changes to negative big one?
The Duende 25 Feb, 2023 @ 6:58pm 
@Buddarfinger Ditto.
Buddarfinger 30 Oct, 2022 @ 5:06pm 
Can you change your max hp permanently somehow?
Joonatanpelaa 22 Sep, 2022 @ 4:43am 
wu
scifiteckfive 26 Feb, 2022 @ 2:30am 
does this work on AI?
Ladofeon 16 Jan, 2022 @ 10:56pm 
Is there a way to modify max hp/armor regen?
lilanimal13 28 Aug, 2021 @ 5:46am 
The armor regeneration isin't working for some reason. Normal health regen works and i can set it higher and that, its just the armor regen that dosent work. Also, whats the chat command to open the menu?
Hyda 29 Jul, 2021 @ 11:41am 
so it dosn't keep your max health on death...
[IWIN].Jerru.Freakman 3 Jul, 2021 @ 7:56pm 
Overtime the HP mod causes a constant error flow not sure why yet but during gameplay with me mates it just happens all of the sudden :sentry:
Mix Heart 10 Apr, 2021 @ 3:40pm 
Max HP variable set to 1
Max HP value has been set to -1275068415 <
Mix Heart 10 Apr, 2021 @ 3:39pm 
It keeps giving me negative hp values.
Cbrovkin 18 Sep, 2020 @ 1:03pm 
;-(
ubre  [author] 18 Sep, 2020 @ 11:15am 
no
Cbrovkin 15 Sep, 2020 @ 5:03am 
Can you add this feature to the NPC?
ling ling 2 Sep, 2020 @ 2:26pm 
Could make an option to apply for everyone as a superadmin?
Kaguar 19 Aug, 2020 @ 7:31pm 
this thing is great! although it took me an hour to find it cause google wasnt usefull, but atleast it works
Fish 15 Apr, 2020 @ 11:45am 
Can you make the settings save, so if i go into another map it will keep my settings.
Mix Heart 5 Apr, 2020 @ 1:06am 
anything above 100 armor cant get armor from pick ups.
Gorbage Meta Gaming 7 Sep, 2019 @ 8:56am 
I set max HP to 1,000 but it sets it back to 100. Is this normal?
The Doom Master 29 Jul, 2019 @ 3:29pm 
May I request a function where if you die with 200 armor (let's just use that number for an example) it will stay that way the next time you spawn?
IronInstrumentals 19 Jul, 2019 @ 7:22pm 
when i try to set my max hp, it get's set to an entirely different number, and it seems random, if i do 500, i get "Max HP value has been set to 33964532" in the console, but my hp doesn't change.
ubre  [author] 30 Dec, 2018 @ 5:45am 
What the balls do is set your HP to your health + 5hp, if you lose the HP you gained by eating the balls you won't regain it by healing yourself.
What most healing items do when healing you is set your HP and checking what your Max HP value is so it doesn't go over it, the balls instead avoid checking if you go over your Max HP because that's what they do, they are there to showcase an easy code for new modders.
A_pet_tick 27 Dec, 2018 @ 10:28pm 
max hp isnt working with me

i set max hp to 100 but if i eat a ball i still can get more than 100 hp. is this broken or is this not what it meant by maximum hp
ubre  [author] 29 Jun, 2018 @ 6:41am 
C H P = Custom Health Points. I'll make a new one in the future if I ever get the time, this one is old.
XxChIcKeNuGGeTxX 28 Jun, 2018 @ 1:52pm 
what is chp
Cyruss 1 May, 2018 @ 4:22pm 
i can't find the custom hud menu help!
Revenge of the Spliff 14 Jan, 2018 @ 1:21pm 
@ugen i uninstalled the mod entirely and i still have armor regen
Lodac77 26 Oct, 2017 @ 2:31pm 
Wait it works after death now?!
Na73 27 Sep, 2017 @ 10:57pm 
Now this function still exists after death, AWESOME!
ubre  [author] 14 Aug, 2017 @ 11:31am 
Disable it
Revenge of the Spliff 14 Aug, 2017 @ 10:48am 
i try to turn my armor regen off and it still regens my armor on respawn
Red 26 Jul, 2017 @ 10:38pm 
*cri*
Lodac77 26 Jul, 2017 @ 7:02am 
ok :steamsad:
ubre  [author] 26 Jul, 2017 @ 6:54am 
Sorry but that's Gmod doing it, dying is one of the few instances where the MaxHP updates and unfortunatly it resets to 100, you'll just have to LIVE with it
Lodac77 26 Jul, 2017 @ 6:17am 
@ParagonGaben Same here mai dude
Red 25 Jul, 2017 @ 6:50pm 
i told u my dude, the hp settings reset when i die aka i have to retype !chp into the chat and re apply my settings
ubre  [author] 25 Jul, 2017 @ 5:29pm 
what is your problem my dude
Red 25 Jul, 2017 @ 3:00pm 
pls fix my lad
ubre  [author] 25 Jul, 2017 @ 2:22pm 
that's gmod doing it not me !!! I SWEAR
Red 24 Jul, 2017 @ 6:42pm 
Why does it reset when I die?
General Dunc 20 Jul, 2017 @ 2:55pm 
just get ulx
Triggered_Atheist 20 Jul, 2017 @ 1:22pm 
Hell yeah! Been waitin' for this one.
Alphonse 20 Jul, 2017 @ 1:11pm 
wowowowoow:steamhappy:
ernesma 20 Jul, 2017 @ 11:50am 
Is there a way to save the settings that i've changed because I changed my health to 30 but every time i die it goes back to 100
ubre  [author] 20 Jul, 2017 @ 11:34am 
To everyone that sais !chp doesn't work, I think it's another addon conflicting, maybe an RP one where if you type something that starts with ! it will return nothing making it like you never typed it at all. If that's the case I added a new console command chp_open to open the menu (If you already have permission ofc). If you still have problems please post them below.
Δ 900 Mag 20 Jul, 2017 @ 8:35am 
wait, how is this any better than ulx? *sees health, armor and damage over time options* ...oh. right.