The Lab
MISC native

GAME_FRAMEWORK_MANAGER_INIT

returns BOOL1 parambuild 1207

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

Initializes the game framework manager with the transition mode transitionMode. Returns true on success.

Signature

C
BOOL GAME_FRAMEWORK_MANAGER_INIT(Hash transitionMode); // 0x4CABE596D632E4B0 b1207

Parameters

#NameType
1transitionModeHash

Facts

Facts about GAME_FRAMEWORK_MANAGER_INIT
Name
GAME_FRAMEWORK_MANAGER_INIT
Hash
0x4CABE596D632E4B0
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(0x4CABE596D632E4B0, -- GAME_FRAMEWORK_MANAGER_INIT
  GetHashKey("name") -- Hash transitionMode
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x4CABE596D632E4B0", // GAME_FRAMEWORK_MANAGER_INIT
  GetHashKey("name"), // Hash transitionMode
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x4CABE596D632E4B0, // GAME_FRAMEWORK_MANAGER_INIT
  (uint)API.GetHashKey("name") // Hash transitionMode
);
All MISC natives

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