The Lab
NETWORK native

NETWORK_GET_GLOBAL_MULTIPLAYER_CLOCK

returns void3 paramsbuild 1207

Writes the global multiplayer clock time to the output pointers.

Signature

C
void NETWORK_GET_GLOBAL_MULTIPLAYER_CLOCK(int* hours, int* minutes, int* seconds); // 0x6D03BFBD643B2A02 b1207

Parameters

#NameType
1hoursint* (out pointer)
2minutesint* (out pointer)
3secondsint* (out pointer)

Facts

Facts about NETWORK_GET_GLOBAL_MULTIPLAYER_CLOCK
Name
NETWORK_GET_GLOBAL_MULTIPLAYER_CLOCK
Hash
0x6D03BFBD643B2A02
Namespace
Returns
void
Game build
1207

Examples

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

Lua
local hours, minutes, seconds = Citizen.InvokeNative(0x6D03BFBD643B2A02, -- NETWORK_GET_GLOBAL_MULTIPLAYER_CLOCK
  Citizen.PointerValueInt(), -- int* hours
  Citizen.PointerValueInt(), -- int* minutes
  Citizen.PointerValueInt() -- int* seconds
)
print(hours, minutes, seconds)
JavaScript
const [hours, minutes, seconds] = Citizen.invokeNative("0x6D03BFBD643B2A02", // NETWORK_GET_GLOBAL_MULTIPLAYER_CLOCK
  Citizen.pointerValueInt(), // int* hours
  Citizen.pointerValueInt(), // int* minutes
  Citizen.pointerValueInt() // int* seconds
);
console.log(hours, minutes, seconds)
C#
var hoursArg = new OutputArgument();
var minutesArg = new OutputArgument();
var secondsArg = new OutputArgument();
Function.Call((Hash)0x6D03BFBD643B2A02, // NETWORK_GET_GLOBAL_MULTIPLAYER_CLOCK
  hoursArg, // int* hours
  minutesArg, // int* minutes
  secondsArg // int* seconds
);
int hours = hoursArg.GetResult<int>();
int minutes = minutesArg.GetResult<int>();
int seconds = secondsArg.GetResult<int>();
All NETWORK natives

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