openCommerceStore
OPEN_COMMERCE_STORE0x58C21165F6545892The GTA V native OPEN_COMMERCE_STORE of the NETWORK namespace, as LS:MP client scripts call it: the global function openCommerceStore, in JavaScript and in Lua.
openCommerceStore(
productID: string,
category: string,
location: number,
launchLandingPageOnClose: boolean
): voidopenCommerceStore(
productID: string,
category: string,
location: integer,
launchLandingPageOnClose: boolean
)Usage
JavaScript
openCommerceStore(productID, category, location, launchLandingPageOnClose);Lua
openCommerceStore(productID, category, location, launchLandingPageOnClose)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
productID | string | string | string |
category | string | string | string |
location | int | number | integer |
launchLandingPageOnClose | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Network NETWORK
- In the game
void OPEN_COMMERCE_STORE(const char* productID, const char* category, int location, BOOL launchLandingPageOnClose)- Hash
0x58C21165F6545892