_ITEMDATABASE_GET_SHOP_LAYOUT_PAGE_INFO_BY_INDEX
Returns the layout page info at the selected index
ITEMDATABASEBuild 1355
Signature
lua
ItemdatabaseGetShopLayoutPageInfoByIndex(GetHashKey("..."), 0, outPageKey)
-- returns BOOLParameters
| Name | Type | Description |
|---|---|---|
| Hash | — | |
| int | — | |
| int* | — |
Usage
Named call
ItemdatabaseGetShopLayoutPageInfoByIndex(GetHashKey("..."), 0, outPageKey)InvokeNative
Citizen.InvokeNative(0xDBEADA0DF5F9AB9F, GetHashKey("..."), 0, outPageKey)lua 1
local data = DataView.ArrayBuffer(4 * 8)
if (Citizen.InvokeNative(0xDBEADA0DF5F9AB9F, `st_doctor`, 0, data:Buffer()) == 1) then
local pageKey = data:GetInt32(0)
endDetails
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
