isPedHurt
IS_PED_HURT0x5983BB449D7FDB12The GTA V native IS_PED_HURT of the PED namespace, as LS:MP client scripts call it: the global function isPedHurt, in JavaScript and in Lua.
isPedHurt(ped: Ped): booleanisPedHurt(ped: Ped): booleanUsage
JavaScript
const result = isPedHurt(ped);Lua
local result = isPedHurt(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns whether the specified ped is hurt.
Reference
- Namespace
- Ped PED
- In the game
BOOL IS_PED_HURT(Ped ped)- Hash
0x5983BB449D7FDB12