GAME_FRAMEWORK_MANAGER_INIT
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
BOOL GAME_FRAMEWORK_MANAGER_INIT(Hash transitionMode); // 0x4CABE596D632E4B0 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | transitionMode | Hash |
Facts
| 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.
local result = Citizen.InvokeNative(0x4CABE596D632E4B0, -- GAME_FRAMEWORK_MANAGER_INIT
GetHashKey("name") -- Hash transitionMode
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x4CABE596D632E4B0", // GAME_FRAMEWORK_MANAGER_INIT
GetHashKey("name"), // Hash transitionMode
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x4CABE596D632E4B0, // GAME_FRAMEWORK_MANAGER_INIT
(uint)API.GetHashKey("name") // Hash transitionMode
);Related MISC natives
- _GAME_FRAMEWORK_MANAGER_GET_MODE
- _GAME_FRAMEWORK_MANAGER_SHUTDOWN
- GET_GAME_TIMER
- _GET_GAME_TIMER_NON_SCALED_CLIPPED
- _SET_GAME_LOGIC_PAUSED
- ACTION_MANAGER_ENABLE_ACTION
- ACTION_MANAGER_IS_ACTION_ENABLED
- IS_GAME_SESSION_STATE_MACHINE_IDLE
- NETWORK_SET_SCRIPT_IS_SAFE_FOR_NETWORK_GAME
- SCRIPT_RACE_INIT
- SET_GAME_PAUSED
- GET_ANGLE_BETWEEN_2D_VECTORS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.