setEntityRecordsCollisions
SET_ENTITY_RECORDS_COLLISIONS0x0A50A1EEDAD01E65The 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.
setEntityRecordsCollisions(entity: Entity, toggle: boolean): voidsetEntityRecordsCollisions(entity: Entity, toggle: boolean)Usage
JavaScript
setEntityRecordsCollisions(entity, toggle);Lua
setEntityRecordsCollisions(entity, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
toggle | BOOL | boolean | boolean |
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