ObjectClient

isPickupWeaponObjectValid

IS_PICKUP_WEAPON_OBJECT_VALID0x11D1E53A726891FE

The GTA V native IS_PICKUP_WEAPON_OBJECT_VALID of the OBJECT namespace, as LS:MP client scripts call it: the global function isPickupWeaponObjectValid, in JavaScript and in Lua.

SignatureJavaScript
isPickupWeaponObjectValid(object: Object): boolean
SignatureLua
isPickupWeaponObjectValid(object: Object): boolean

Usage

JavaScript
const result = isPickupWeaponObjectValid(object);
Lua
local result = isPickupWeaponObjectValid(object)

Parameters

ParameterTypeJavaScriptLua
objectObjectnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Object OBJECT
In the game
BOOL IS_PICKUP_WEAPON_OBJECT_VALID(Object object)
Hash
0x11D1E53A726891FE

Open in the interactive natives reference