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