NetworkClientNot in this build

reserveCommerceStorePurchaseLocation

RESERVE_COMMERCE_STORE_PURCHASE_LOCATION

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

SignatureJavaScript
reserveCommerceStorePurchaseLocation(location: number): void
SignatureLua
reserveCommerceStorePurchaseLocation(location: integer)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
reserveCommerceStorePurchaseLocation(location);
Lua
reserveCommerceStorePurchaseLocation(location)

Parameters

ParameterTypeJavaScriptLua
locationintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void RESERVE_COMMERCE_STORE_PURCHASE_LOCATION(int location)

Open in the interactive natives reference