isModelInCdimage
IS_MODEL_IN_CDIMAGE0x35B9E0803292B641The GTA V native IS_MODEL_IN_CDIMAGE of the STREAMING namespace, as LS:MP client scripts call it: the global function isModelInCdimage, in JavaScript and in Lua.
isModelInCdimage(model: Hash): booleanisModelInCdimage(model: Hash): booleanUsage
JavaScript
const result = isModelInCdimage(model);Lua
local result = isModelInCdimage(model)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
model | Hash | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Check if model is in cdimage(rpf)
Reference
- Namespace
- Streaming STREAMING
- In the game
BOOL IS_MODEL_IN_CDIMAGE(Hash model)- Hash
0x35B9E0803292B641