Search Results for

    Show / Hide Table of Contents

    Class SetCharacterHealthHelper

    Sets character's health on the dead-to-alive scale: [0..1].

    Inheritance
    Object
    CustomHelper
    SetCharacterHealthHelper
    Inherited Members
    CustomHelper.Start()
    CustomHelper.Start(Int32)
    CustomHelper.Stop()
    CustomHelper.SetArgument(String, Boolean)
    CustomHelper.SetArgument(String, Int32)
    CustomHelper.SetArgument(String, Single)
    CustomHelper.SetArgument(String, String)
    CustomHelper.SetArgument(String, Vector3)
    CustomHelper.ResetArguments()
    CustomHelper.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GTA.NaturalMotion
    Assembly: ScriptHookVDotNet3.dll
    Syntax
    public sealed class SetCharacterHealthHelper : CustomHelper

    Constructors

    | Improve this Doc View Source

    SetCharacterHealthHelper(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

    The Ped to send the SetCharacterHealth Message to.

    Remarks

    Sets character's health on the dead-to-alive scale: [0..1].

    Properties

    | Improve this Doc View Source

    CharacterHealth

    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.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX