wasPedSkeletonUpdated
WAS_PED_SKELETON_UPDATED0x11B499C1E0FF8559The GTA V native WAS_PED_SKELETON_UPDATED of the PED namespace, as LS:MP client scripts call it: the global function wasPedSkeletonUpdated, in JavaScript and in Lua.
wasPedSkeletonUpdated(ped: Ped): booleanwasPedSkeletonUpdated(ped: Ped): booleanUsage
JavaScript
const result = wasPedSkeletonUpdated(ped);Lua
local result = wasPedSkeletonUpdated(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.
Despite this function's name, it simply returns whether the specified handle is a Ped.
Reference
- Namespace
- Ped PED
- In the game
BOOL WAS_PED_SKELETON_UPDATED(Ped ped)- Hash
0x11B499C1E0FF8559