ULX

Author Topic: | Custom Ply for Setting Max Health and Start Health? |  (Read 2157 times)

0 Members and 1 Guest are viewing this topic.

Offline aussie0411

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
| Custom Ply for Setting Max Health and Start Health? |
« 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.

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: | Custom Ply for Setting Max Health and Start Health? |
« Reply #1 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 and SetMaxHealth
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: | Custom Ply for Setting Max Health and Start Health? |
« Reply #2 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
bw81@ulysses-forums ~ % whoami
Homepage