IS_TIME_MORE_THAN
Subtracts the first argument from the second, then returns whether the result is negative.
Hash
0xDE350F8651E4346CRuntime name
IsTimeMoreThanNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xDE350F8651E4346CSignature
BOOL IS_TIME_MORE_THAN(int timeA, int timeB);Parameters
| Name | Type | Description |
|---|---|---|
timeA | int | — |
timeB | int | — |
Returns BOOL
Description
Subtracts the first argument from the second, then returns whether the result is negative.
Usage
local retval = IsTimeMoreThan(timeA, timeB)
-- always works, by hash
local retval = Citizen.InvokeNative(0xDE350F8651E4346C, timeA, timeB, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsTimeMoreThan(timeA, timeB);
// by hash
const retval = Citizen.invokeNative('0xDE350F8651E4346C', timeA, timeB, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xDE350F8651E4346C, timeA, timeB);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.