NetworkClient

setLastViewedShopItem

SET_LAST_VIEWED_SHOP_ITEM0xFAE628F1E9ADB239

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

SignatureJavaScript
setLastViewedShopItem(p0: Hash, p1: number, p2: Hash): void
SignatureLua
setLastViewedShopItem(p0: Hash, p1: integer, p2: Hash)

Usage

JavaScript
setLastViewedShopItem(p0, p1, p2);
Lua
setLastViewedShopItem(p0, p1, p2)

Parameters

ParameterTypeJavaScriptLua
p0Hashnumberinteger
p1intnumberinteger
p2Hashnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void SET_LAST_VIEWED_SHOP_ITEM(Hash p0, int p1, Hash p2)
Hash
0xFAE628F1E9ADB239

Open in the interactive natives reference