EntityClient

getEntityCollisionDisabled

GET_ENTITY_COLLISION_DISABLED0xCCF1E97BEFDAE480

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Entity ENTITY
In the game
BOOL GET_ENTITY_COLLISION_DISABLED(Entity entity)
Hash
0xCCF1E97BEFDAE480
Formerly
_GET_ENTITY_COLLISON_DISABLED

Open in the interactive natives reference