RedM Natives

NETWORK_SHOULD_SHOW_PROMOTION_DLG

Hardcoded to return false.

Hash0xDA4B1A479C414FB2
Runtime nameNetworkShouldShowPromotionDlg
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL NETWORK_SHOULD_SHOW_PROMOTION_DLG();

Returns BOOL

Description

Hardcoded to return false.

Usage

Lua
local retval = NetworkShouldShowPromotionDlg()

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

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

Sources

alloc8or RDR3 NativeDB

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