GET_TIME_OFFSET
Adds the first argument to the second.
Hash
0x017008CCDAD48503Runtime name
GetTimeOffsetNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x017008CCDAD48503Signature
int GET_TIME_OFFSET(int timeA, int timeB);Parameters
| Name | Type | Description |
|---|---|---|
timeA | int | — |
timeB | int | — |
Returns int
Description
Adds the first argument to the second.
Usage
local retval = GetTimeOffset(timeA, timeB)
-- always works, by hash
local retval = Citizen.InvokeNative(0x017008CCDAD48503, timeA, timeB, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetTimeOffset(timeA, timeB);
// by hash
const retval = Citizen.invokeNative('0x017008CCDAD48503', timeA, timeB, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x017008CCDAD48503, timeA, timeB);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.