isModelAPed
IS_MODEL_A_PED0x75816577FEA6DAD5The 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.
isModelAPed(model: Hash): booleanisModelAPed(model: Hash): booleanUsage
JavaScript
const result = isModelAPed(model);Lua
local result = isModelAPed(model)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
model | Hash | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Streaming STREAMING
- In the game
BOOL IS_MODEL_A_PED(Hash model)- Hash
0x75816577FEA6DAD5- Introduced
- Game build 1103 legacy numbering