RedM Natives

IS_MAG_DEMO_1_ACTIVE

Hardcoded to return false.

Hash0x5FC9357C26DAEFCE
Runtime nameIsMagDemo_1Active
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL IS_MAG_DEMO_1_ACTIVE();

Returns BOOL

Description

magdemo = magazine demo, i. e. for magazines such as IGN, pre play phases to prepare articles etc. - example 2012 builds for V
Hardcoded to return false.

Usage

Lua
local retval = IsMagDemo_1Active()

-- always works, by hash
local retval = Citizen.InvokeNative(0x5FC9357C26DAEFCE, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsMagDemo_1Active();

// by hash
const retval = Citizen.invokeNative('0x5FC9357C26DAEFCE', Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x5FC9357C26DAEFCE);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.