EntityClient

setEntityRecordsCollisions

SET_ENTITY_RECORDS_COLLISIONS0x0A50A1EEDAD01E65

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

SignatureJavaScript
setEntityRecordsCollisions(entity: Entity, toggle: boolean): void
SignatureLua
setEntityRecordsCollisions(entity: Entity, toggle: boolean)

Usage

JavaScript
setEntityRecordsCollisions(entity, toggle);
Lua
setEntityRecordsCollisions(entity, toggle)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Entity ENTITY
In the game
void SET_ENTITY_RECORDS_COLLISIONS(Entity entity, BOOL toggle)
Hash
0x0A50A1EEDAD01E65

Open in the interactive natives reference