allowAllPlayersToCollectPickupsOfType
ALLOW_ALL_PLAYERS_TO_COLLECT_PICKUPS_OF_TYPE0xFDC07C58E8AAB715The GTA V native ALLOW_ALL_PLAYERS_TO_COLLECT_PICKUPS_OF_TYPE of the OBJECT namespace, as LS:MP client scripts call it: the global function allowAllPlayersToCollectPickupsOfType, in JavaScript and in Lua.
allowAllPlayersToCollectPickupsOfType(pickupHash: Hash): voidallowAllPlayersToCollectPickupsOfType(pickupHash: Hash)Usage
JavaScript
allowAllPlayersToCollectPickupsOfType(pickupHash);Lua
allowAllPlayersToCollectPickupsOfType(pickupHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
pickupHash | Hash | number | integer |
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.
Full list of pickup types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pickupTypes.json
Reference
- Namespace
- Object OBJECT
- In the game
void ALLOW_ALL_PLAYERS_TO_COLLECT_PICKUPS_OF_TYPE(Hash pickupHash)- Hash
0xFDC07C58E8AAB715- Introduced
- Game build 1734 legacy numbering