Ulysses

General => Developers Corner => Topic started by: aussie0411 on October 28, 2016, 09:14:48 PM

Title: | Custom Ply for Setting Max Health and Start Health? |
Post by: aussie0411 on October 28, 2016, 09:14:48 PM
So I need the custom ply for my server for setting the maximum health for identification purposes (For swrp you can heal up to full health instead of 100) and then obviously the ply for setting the starting health so that I can set the starting hp for all jobs.
Title: Re: | Custom Ply for Setting Max Health and Start Health? |
Post by: iViscosity on October 29, 2016, 05:29:38 AM
If you can get the SteamID, you could use a check on the SteamID, then set health and max health using these: SetHealth (http://wiki.garrysmod.com/page/Entity/SetHealth) and  SetMaxHealth (http://wiki.garrysmod.com/page/Entity/SetMaxHealth)
Title: Re: | Custom Ply for Setting Max Health and Start Health? |
Post by: Bytewave on October 29, 2016, 08:06:28 AM
So I need the custom ply for my server for setting the maximum health for identification purposes (For swrp you can heal up to full health instead of 100) and then obviously the ply for setting the starting health so that I can set the starting hp for all jobs.
You may want to slow down a little.

What exactly do you want?
As far as I can tell, it's:
 - Heal a certain player to full (but, when?)
 - Set the maximum HP of all jobs