The Lab
MISC native

_GAME_FRAMEWORK_MANAGER_GET_MODE

returns Hash0 paramsbuild 1207

Based on its name and signature, here is our best reading:

Returns the hash of the current game framework mode.

Signature

C
Hash _GAME_FRAMEWORK_MANAGER_GET_MODE(); // 0xFAED234C7F53ABEB b1207

Parameters

This native takes no parameters.

Facts

Facts about _GAME_FRAMEWORK_MANAGER_GET_MODE
Name
_GAME_FRAMEWORK_MANAGER_GET_MODE
Hash
0xFAED234C7F53ABEB
Namespace
Returns
Hash
Game build
1207

Examples

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

Lua
local hash = Citizen.InvokeNative(0xFAED234C7F53ABEB, -- _GAME_FRAMEWORK_MANAGER_GET_MODE
  Citizen.ResultAsInteger()
)
print(hash)
JavaScript
const hash = Citizen.invokeNative("0xFAED234C7F53ABEB", // _GAME_FRAMEWORK_MANAGER_GET_MODE
  Citizen.resultAsInteger()
);
console.log(hash)
C#
int hash = Function.Call<int>((Hash)0xFAED234C7F53ABEB); // _GAME_FRAMEWORK_MANAGER_GET_MODE
All MISC natives

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