allowPickupByNoneParticipant
ALLOW_PICKUP_BY_NONE_PARTICIPANT0xAA059C615DE9DD03The GTA V native ALLOW_PICKUP_BY_NONE_PARTICIPANT of the OBJECT namespace, as LS:MP client scripts call it: the global function allowPickupByNoneParticipant, in JavaScript and in Lua.
allowPickupByNoneParticipant(pickup: Pickup, toggle: boolean): voidallowPickupByNoneParticipant(pickup: Pickup, toggle: boolean)Usage
JavaScript
allowPickupByNoneParticipant(pickup, toggle);Lua
allowPickupByNoneParticipant(pickup, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
pickup | Pickup | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Object OBJECT
- In the game
void ALLOW_PICKUP_BY_NONE_PARTICIPANT(Pickup pickup, BOOL toggle)- Hash
0xAA059C615DE9DD03- Introduced
- Game build 1180 legacy numbering