RedM Natives

NETWORK_IS_PROMOTION_ENABLED

Hardcoded to return false.

Hash0x8FF6059DA26E688A
Runtime nameNetworkIsPromotionEnabled
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL NETWORK_IS_PROMOTION_ENABLED();

Returns BOOL

Description

Hardcoded to return false.

Usage

Lua
local retval = NetworkIsPromotionEnabled()

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

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

Sources

alloc8or RDR3 NativeDB

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