setPickUpByCargobobDisabled
SET_PICK_UP_BY_CARGOBOB_DISABLED0xD7B80E7C3BEFC396The GTA V native SET_PICK_UP_BY_CARGOBOB_DISABLED of the ENTITY namespace, as LS:MP client scripts call it: the global function setPickUpByCargobobDisabled, in JavaScript and in Lua.
setPickUpByCargobobDisabled(entity: Entity, toggle: boolean): voidsetPickUpByCargobobDisabled(entity: Entity, toggle: boolean)Usage
JavaScript
setPickUpByCargobobDisabled(entity, toggle);Lua
setPickUpByCargobobDisabled(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_PICK_UP_BY_CARGOBOB_DISABLED(Entity entity, BOOL toggle)- Hash
0xD7B80E7C3BEFC396- Introduced
- Game build 1180 legacy numbering