Poll

Do you like it? (Will take it down if there are more of "No" votes)

Yes
37 (97.4%)
No
1 (2.6%)

Total Members Voted: 38

Author Topic: MaxHealth Event - Have custom health on players.  (Read 3316 times)

There are 2 events:
SetMaxHealth
AddMaxHealth

If your max health is going to be over 999999, it will just set it right back to it.
This also overwrites the VCE events such as <var:pl:maxHealth> and <var:pl:health>

These events have parameters > Health bool1 HealthPerPlayer bool2
bool1 - If enabled, it will replenish their health to the max it is.
bool2 - If enabled, it will add more max health to the current by the number of people in the minigame (If you are not in a  minigame, it will use the number of people in the server)

[Dropbox] Download

Credits:
Visolator - Main Code
Port - Part of the max health code

What do you mean by it overwrites VCE <var:pl:maxhealth> and <var:pl:health>?

Damnit, I don't feel special having the original anymore.


What do you mean by it overwrites VCE <var:pl:maxhealth> and <var:pl:health>?
Because since the new health mod uses variables, these have to be overwritten to fix it.

Because since the new health mod uses variables, these have to be overwritten to fix it.

Oh I see, is there any way to display it using VCE huds?

Does this work on bots and other datablocks?

Does this work on bots and other datablocks?
It can work on bots, you just have to add the functions. I think it would be a bad idea since there are AIPlayers that are vehicles.