The Lab
MISC native

IS_MAG_DEMO_1_ACTIVE

returns BOOL0 paramsbuild 1207

Returns true if the magazine demo build mode is active. Always false in normal play.

Signature

C
BOOL IS_MAG_DEMO_1_ACTIVE(); // 0x5FC9357C26DAEFCE b1207

Parameters

This native takes no parameters.

Facts

Facts about IS_MAG_DEMO_1_ACTIVE
Name
IS_MAG_DEMO_1_ACTIVE
Hash
0x5FC9357C26DAEFCE
Namespace
Returns
BOOL
Game build
1207

Examples

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

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

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