NetworkClient

getCommerceItemTexturename

GET_COMMERCE_ITEM_TEXTURENAME0x722F5D28B61C5EA8

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

SignatureJavaScript
getCommerceItemTexturename(index: number): string
SignatureLua
getCommerceItemTexturename(index: integer): string

Usage

JavaScript
const text = getCommerceItemTexturename(index);
Lua
local text = getCommerceItemTexturename(index)

Parameters

ParameterTypeJavaScriptLua
indexintnumberinteger

Returns

string JavaScript string, Lua string

Reference

Namespace
Network NETWORK
In the game
const char* GET_COMMERCE_ITEM_TEXTURENAME(int index)
Hash
0x722F5D28B61C5EA8

Open in the interactive natives reference