ObjectClient

removeAllPickupsOfType

REMOVE_ALL_PICKUPS_OF_TYPE0x27F9D613092159CF

The 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.

SignatureJavaScript
removeAllPickupsOfType(pickupHash: Hash): void
SignatureLua
removeAllPickupsOfType(pickupHash: Hash)

Usage

JavaScript
removeAllPickupsOfType(pickupHash);
Lua
removeAllPickupsOfType(pickupHash)

Parameters

ParameterTypeJavaScriptLua
pickupHashHashnumberinteger

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.

Reference

Namespace
Object OBJECT
In the game
void REMOVE_ALL_PICKUPS_OF_TYPE(Hash pickupHash)
Hash
0x27F9D613092159CF

Open in the interactive natives reference