getNumDlcWeapons

GET_NUM_DLC_WEAPONS0xEE47635F352DA367

The GTA V native GET_NUM_DLC_WEAPONS of the EXTRAMETADATA namespace, as LS:MP client scripts call it: the global function getNumDlcWeapons, in JavaScript and in Lua.

SignatureJavaScript
getNumDlcWeapons(): number
SignatureLua
getNumDlcWeapons(): integer

Usage

JavaScript
const result = getNumDlcWeapons();
Lua
local result = getNumDlcWeapons()

Parameters

None.

Returns

int JavaScript number, Lua integer

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Returns the total number of DLC weapons.

Reference

Namespace
Shop metadata EXTRAMETADATA
In the game
int GET_NUM_DLC_WEAPONS()
Hash
0xEE47635F352DA367

Open in the interactive natives reference