setLocalPlayerCanCollectPortablePickups
SET_LOCAL_PLAYER_CAN_COLLECT_PORTABLE_PICKUPS0x78857FC65CADB909The GTA V native SET_LOCAL_PLAYER_CAN_COLLECT_PORTABLE_PICKUPS of the OBJECT namespace, as LS:MP client scripts call it: the global function setLocalPlayerCanCollectPortablePickups, in JavaScript and in Lua.
setLocalPlayerCanCollectPortablePickups(toggle: boolean): voidsetLocalPlayerCanCollectPortablePickups(toggle: boolean)Usage
JavaScript
setLocalPlayerCanCollectPortablePickups(toggle);Lua
setLocalPlayerCanCollectPortablePickups(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Object OBJECT
- In the game
void SET_LOCAL_PLAYER_CAN_COLLECT_PORTABLE_PICKUPS(BOOL toggle)- Hash
0x78857FC65CADB909