NetworkClient

canRegisterMissionPickups

CAN_REGISTER_MISSION_PICKUPS0x0A49D1CB6E34AF72

The GTA V native CAN_REGISTER_MISSION_PICKUPS of the NETWORK namespace, as LS:MP client scripts call it: the global function canRegisterMissionPickups, in JavaScript and in Lua.

SignatureJavaScript
canRegisterMissionPickups(amount: number): boolean
SignatureLua
canRegisterMissionPickups(amount: integer): boolean

Usage

JavaScript
const result = canRegisterMissionPickups(amount);
Lua
local result = canRegisterMissionPickups(amount)

Parameters

ParameterTypeJavaScriptLua
amountintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL CAN_REGISTER_MISSION_PICKUPS(int amount)
Hash
0x0A49D1CB6E34AF72
Introduced
Game build 757 legacy numbering
Formerly
_CAN_REGISTER_MISSION_PICKUPS

Open in the interactive natives reference