RedM Natives

IS_DURANGO_VERSION

Hardcoded to return false.

Hash0xD1CCC2A2639D325F
Runtime nameIsDurangoVersion
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x4D982ADB1978442D

Signature

BOOL IS_DURANGO_VERSION();

Returns BOOL

Description

Hardcoded to return false.
Checks for XBOXONE Game Build.

Usage

Lua
local retval = IsDurangoVersion()

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

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

Sources

alloc8or RDR3 NativeDB

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