hidePortablePickupWhenDetached
HIDE_PORTABLE_PICKUP_WHEN_DETACHED0x867458251D47CCB2The GTA V native HIDE_PORTABLE_PICKUP_WHEN_DETACHED of the OBJECT namespace, as LS:MP client scripts call it: the global function hidePortablePickupWhenDetached, in JavaScript and in Lua.
hidePortablePickupWhenDetached(pickupObject: Object, toggle: boolean): voidhidePortablePickupWhenDetached(pickupObject: Object, toggle: boolean)Usage
JavaScript
hidePortablePickupWhenDetached(pickupObject, toggle);Lua
hidePortablePickupWhenDetached(pickupObject, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
pickupObject | Object | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Object OBJECT
- In the game
void HIDE_PORTABLE_PICKUP_WHEN_DETACHED(Object pickupObject, BOOL toggle)- Hash
0x867458251D47CCB2- Introduced
- Game build 463 legacy numbering
- Formerly
_HIDE_PICKUP