EntityClient

hasCollisionLoadedAroundEntity

HAS_COLLISION_LOADED_AROUND_ENTITY0xE9676F61BC0B3321

The GTA V native HAS_COLLISION_LOADED_AROUND_ENTITY of the ENTITY namespace, as LS:MP client scripts call it: the global function hasCollisionLoadedAroundEntity, in JavaScript and in Lua.

SignatureJavaScript
hasCollisionLoadedAroundEntity(entity: Entity): boolean
SignatureLua
hasCollisionLoadedAroundEntity(entity: Entity): boolean

Usage

JavaScript
const result = hasCollisionLoadedAroundEntity(entity);
Lua
local result = hasCollisionLoadedAroundEntity(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Entity ENTITY
In the game
BOOL HAS_COLLISION_LOADED_AROUND_ENTITY(Entity entity)
Hash
0xE9676F61BC0B3321

Open in the interactive natives reference