setCanAutoVaultOnEntity
SET_CAN_AUTO_VAULT_ON_ENTITY0xE12ABE5E3A389A6CThe GTA V native SET_CAN_AUTO_VAULT_ON_ENTITY of the ENTITY namespace, as LS:MP client scripts call it: the global function setCanAutoVaultOnEntity, in JavaScript and in Lua.
setCanAutoVaultOnEntity(entity: Entity, toggle: boolean): voidsetCanAutoVaultOnEntity(entity: Entity, toggle: boolean)Usage
JavaScript
setCanAutoVaultOnEntity(entity, toggle);Lua
setCanAutoVaultOnEntity(entity, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
p1 always false.
Reference
- Namespace
- Entity ENTITY
- In the game
void SET_CAN_AUTO_VAULT_ON_ENTITY(Entity entity, BOOL toggle)- Hash
0xE12ABE5E3A389A6C