Class SetCharacterHealthHelper
Sets character's health on the dead-to-alive scale: [0..1].
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class SetCharacterHealthHelper : CustomHelper
Constructors
| Improve this Doc View SourceSetCharacterHealthHelper(Ped)
Creates a new Instance of the SetCharacterHealthHelper for sending a SetCharacterHealth Message to a given Ped.
Declaration
public SetCharacterHealthHelper(Ped ped)
Parameters
Type | Name | Description |
---|---|---|
Ped | ped |
Remarks
Sets character's health on the dead-to-alive scale: [0..1].
Properties
| Improve this Doc View SourceCharacterHealth
Health of character.
Declaration
public float CharacterHealth { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 1.0f. Min value = 0.0f. Max value = 1.0f.