The Lab
NETWORK native

_COMMERCE_STORE_IS_OPEN

returns BOOL0 paramsbuild 1355

Returns true if the in-game commerce store is currently open.

Signature

C
BOOL _COMMERCE_STORE_IS_OPEN(); // 0xCE5E79D9E303628E b1355

Parameters

This native takes no parameters.

Facts

Facts about _COMMERCE_STORE_IS_OPEN
Name
_COMMERCE_STORE_IS_OPEN
Hash
0xCE5E79D9E303628E
Namespace
Returns
BOOL
Game build
1355

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xCE5E79D9E303628E) -- _COMMERCE_STORE_IS_OPEN
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xCE5E79D9E303628E", // _COMMERCE_STORE_IS_OPEN
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xCE5E79D9E303628E); // _COMMERCE_STORE_IS_OPEN
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.