RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _ITEMDATABASE_GET_SHOP_LAYOUT_PAGE_INFO_BY_INDEX

_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 BOOL

Parameters

NameTypeDescription
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)
end

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details