setEntityDynamic
SET_ENTITY_DYNAMIC0x1718DE8E3F2823CAThe GTA V native SET_ENTITY_DYNAMIC of the ENTITY namespace, as LS:MP client scripts call it: the global function setEntityDynamic, in JavaScript and in Lua.
setEntityDynamic(entity: Entity, toggle: boolean): voidsetEntityDynamic(entity: Entity, toggle: boolean)Usage
JavaScript
setEntityDynamic(entity, toggle);Lua
setEntityDynamic(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_DYNAMIC(Entity entity, BOOL toggle)- Hash
0x1718DE8E3F2823CA