getCommerceProductPrice
GET_COMMERCE_PRODUCT_PRICE0xCA94551B50B4932CThe GTA V native GET_COMMERCE_PRODUCT_PRICE of the NETWORK namespace, as LS:MP client scripts call it: the global function getCommerceProductPrice, in JavaScript and in Lua.
getCommerceProductPrice(index: number): stringgetCommerceProductPrice(index: integer): stringUsage
JavaScript
const text = getCommerceProductPrice(index);Lua
local text = getCommerceProductPrice(index)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
index | int | number | integer |
Returns
string JavaScript string, Lua stringReference
- Namespace
- Network NETWORK
- In the game
const char* GET_COMMERCE_PRODUCT_PRICE(int index)- Hash
0xCA94551B50B4932C