PedClient

getPedDecorationsState

GET_PED_DECORATIONS_STATE0x71EAB450D86954A1

The GTA V native GET_PED_DECORATIONS_STATE of the PED namespace, as LS:MP client scripts call it: the global function getPedDecorationsState, in JavaScript and in Lua.

SignatureJavaScript
getPedDecorationsState(ped: Ped): number
SignatureLua
getPedDecorationsState(ped: Ped): integer

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

int JavaScript number, Lua integer

Reference

Namespace
Ped PED
In the game
int GET_PED_DECORATIONS_STATE(Ped ped)
Hash
0x71EAB450D86954A1

Open in the interactive natives reference