doesPickupExist
DOES_PICKUP_EXIST0xAFC1CA75AD4074D1The GTA V native DOES_PICKUP_EXIST of the OBJECT namespace, as LS:MP client scripts call it: the global function doesPickupExist, in JavaScript and in Lua.
doesPickupExist(pickup: Pickup): booleandoesPickupExist(pickup: Pickup): booleanUsage
JavaScript
const result = doesPickupExist(pickup);Lua
local result = doesPickupExist(pickup)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
pickup | Pickup | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Object OBJECT
- In the game
BOOL DOES_PICKUP_EXIST(Pickup pickup)- Hash
0xAFC1CA75AD4074D1