ObjectClient

isObjectAPortablePickup

IS_OBJECT_A_PORTABLE_PICKUP0x0378C08504160D0D

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
objectObjectnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Object OBJECT
In the game
BOOL IS_OBJECT_A_PORTABLE_PICKUP(Object object)
Hash
0x0378C08504160D0D

Open in the interactive natives reference