removeAllPickupsOfType
REMOVE_ALL_PICKUPS_OF_TYPE0x27F9D613092159CFThe GTA V native REMOVE_ALL_PICKUPS_OF_TYPE of the OBJECT namespace, as LS:MP client scripts call it: the global function removeAllPickupsOfType, in JavaScript and in Lua.
removeAllPickupsOfType(pickupHash: Hash): voidremoveAllPickupsOfType(pickupHash: Hash)Usage
JavaScript
removeAllPickupsOfType(pickupHash);Lua
removeAllPickupsOfType(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 REMOVE_ALL_PICKUPS_OF_TYPE(Hash pickupHash)- Hash
0x27F9D613092159CF