RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _CHANGE_ENTITY_HEALTH

_CHANGE_ENTITY_HEALTH

Alters entity's health by 'amount'. Can be negative (to drain health). In the scripts entity2 and weaponHash are unused (zero).

ENTITYBuild 1207

Signature

lua
ChangeEntityHealth(entity, 0.0, entity2, GetHashKey("..."))
-- returns BOOL

Parameters

NameTypeDescription
Entity—
float—
Entity—
Hash—

Usage

lua
ChangeEntityHealth(entity, 0.0, entity2, GetHashKey("..."))

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details