RedM Natives

NETWORK_IS_FEATURE_SUPPORTED

Hash0x9C725D149622BFDE
Runtime nameNetworkIsFeatureSupported
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL NETWORK_IS_FEATURE_SUPPORTED(int featureId);

Parameters

NameTypeDescription
featureIdint—

Returns BOOL

Usage

Lua
local retval = NetworkIsFeatureSupported(featureId)

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

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

Sources

alloc8or RDR3 NativeDB

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