The Lab
NETWORK native

IS_TIME_LESS_THAN

returns BOOL2 paramsbuild 1207

Returns true if network time timeA is earlier than timeB.

Signature

C
BOOL IS_TIME_LESS_THAN(int timeA, int timeB); // 0xCB2CF5148012C8D0 b1207

Parameters

#NameType
1timeAint
2timeBint

Facts

Facts about IS_TIME_LESS_THAN
Name
IS_TIME_LESS_THAN
Hash
0xCB2CF5148012C8D0
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xCB2CF5148012C8D0, -- IS_TIME_LESS_THAN
  0, -- int timeA
  0 -- int timeB
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xCB2CF5148012C8D0", // IS_TIME_LESS_THAN
  0, // int timeA
  0, // int timeB
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xCB2CF5148012C8D0, // IS_TIME_LESS_THAN
  0, // int timeA
  0 // int timeB
);
All NETWORK natives

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