StreamingClient

hasCollisionForModelLoaded

HAS_COLLISION_FOR_MODEL_LOADED0x22CCA434E368F03A

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
modelHashnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Streaming STREAMING
In the game
BOOL HAS_COLLISION_FOR_MODEL_LOADED(Hash model)
Hash
0x22CCA434E368F03A

Open in the interactive natives reference