PedClient

wasPedSkeletonUpdated

WAS_PED_SKELETON_UPDATED0x11B499C1E0FF8559

The 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.

SignatureJavaScript
wasPedSkeletonUpdated(ped: Ped): boolean
SignatureLua
wasPedSkeletonUpdated(ped: Ped): boolean

Usage

JavaScript
const result = wasPedSkeletonUpdated(ped);
Lua
local result = wasPedSkeletonUpdated(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Open in the interactive natives reference