StreamingClient

isModelAPed

IS_MODEL_A_PED0x75816577FEA6DAD5

The GTA V native IS_MODEL_A_PED of the STREAMING namespace, as LS:MP client scripts call it: the global function isModelAPed, in JavaScript and in Lua.

SignatureJavaScript
isModelAPed(model: Hash): boolean
SignatureLua
isModelAPed(model: Hash): boolean

Usage

JavaScript
const result = isModelAPed(model);
Lua
local result = isModelAPed(model)

Parameters

ParameterTypeJavaScriptLua
modelHashnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Streaming STREAMING
In the game
BOOL IS_MODEL_A_PED(Hash model)
Hash
0x75816577FEA6DAD5
Introduced
Game build 1103 legacy numbering

Open in the interactive natives reference