Jump to content

GET_PED_MAX_HEALTH


Native Details

  • NameGET_PED_MAX_HEALTH
  • NamespacePED
  • Native Hash0x4700A416E8324EF3
  • Typeint
  • First seen version1207

Native Parameters

  • Parameter 0Ped ped
    Handle to the Ped whose maximum health is to be returned.

DESCRIPTION

Returns the maximum health value of the given Ped.  Note that the maximum health can vary for different kinds of Peds.

Also see: GET_ENTITY_MAX_HEALTH


CODE EXAMPLE

pedHealth = GET_PED_MAX_HEALTH(somePed);

User Feedback

Recommended Comments

There are no comments to display.



Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Red Dead Redemption 2 Native Database by www.mod-rdr.com, includes contributions by gudmunduro and alloc8or.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...