GET_TIME_DIFFERENCE
Returns the difference between two network times, timeA minus timeB.
Signature
int GET_TIME_DIFFERENCE(int timeA, int timeB); // 0xA2C6FC031D46FFF0 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | timeA | int |
| 2 | timeB | int |
Facts
| Name | GET_TIME_DIFFERENCE |
|---|---|
| Hash | 0xA2C6FC031D46FFF0 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xA2C6FC031D46FFF0, -- GET_TIME_DIFFERENCE
0, -- int timeA
0, -- int timeB
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xA2C6FC031D46FFF0", // GET_TIME_DIFFERENCE
0, // int timeA
0, // int timeB
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xA2C6FC031D46FFF0, // GET_TIME_DIFFERENCE
0, // int timeA
0 // int timeB
);Related NETWORK natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.