The Lab
MISC native

IS_DURANGO_VERSION

returns BOOL0 paramsbuild 1207

Returns true when running on Xbox One.

Signature

C
BOOL IS_DURANGO_VERSION(); // 0xD1CCC2A2639D325F b1207

Parameters

This native takes no parameters.

Facts

Facts about IS_DURANGO_VERSION
Name
IS_DURANGO_VERSION
Hash
0xD1CCC2A2639D325F
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xD1CCC2A2639D325F) -- IS_DURANGO_VERSION
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xD1CCC2A2639D325F", // IS_DURANGO_VERSION
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xD1CCC2A2639D325F); // IS_DURANGO_VERSION
All MISC natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.