ObjectClient

isObjectAPickup

IS_OBJECT_A_PICKUP0xFC481C641EBBD27D

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
objectObjectnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Object OBJECT
In the game
BOOL IS_OBJECT_A_PICKUP(Object object)
Hash
0xFC481C641EBBD27D
Introduced
Game build 1365 legacy numbering

Open in the interactive natives reference