NetworkClient

isEntityInGhostCollision

IS_ENTITY_IN_GHOST_COLLISION0x7EF7649B64D7FF10

The GTA V native IS_ENTITY_IN_GHOST_COLLISION of the NETWORK namespace, as LS:MP client scripts call it: the global function isEntityInGhostCollision, in JavaScript and in Lua.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL IS_ENTITY_IN_GHOST_COLLISION(Entity entity)
Hash
0x7EF7649B64D7FF10
Introduced
Game build 944 legacy numbering

Open in the interactive natives reference