EntityClient

enableEntityBulletCollision

ENABLE_ENTITY_BULLET_COLLISION0x6CE177D014502E8A

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

SignatureJavaScript
enableEntityBulletCollision(entity: Entity): void
SignatureLua
enableEntityBulletCollision(entity: Entity)

Usage

JavaScript
enableEntityBulletCollision(entity);
Lua
enableEntityBulletCollision(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Entity ENTITY
In the game
void ENABLE_ENTITY_BULLET_COLLISION(Entity entity)
Hash
0x6CE177D014502E8A
Introduced
Game build 877 legacy numbering
Formerly
_ENABLE_ENTITY_UNK

Open in the interactive natives reference