PedClient

isPedShaderReady

IS_PED_SHADER_READY0x81AA517FBBA05D39

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_SHADER_READY(Ped ped)
Hash
0x81AA517FBBA05D39
Introduced
Game build 944 legacy numbering
Formerly
_IS_PED_SHADER_EFFECT_VALID

Open in the interactive natives reference