GET_TIMECYCLE_MODIFIER_COUNT
Signature
int GET_TIMECYCLE_MODIFIER_COUNT();Returns int — Returns the amount of timecycle modifiers loaded.
Usage
local retval = GetTimecycleModifierCount()
-- always works, by hash
local retval = Citizen.InvokeNative(0xfe2a1d4d, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetTimecycleModifierCount();
// by hash
const retval = Citizen.invokeNative('0xfe2a1d4d', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xfe2a1d4d);Examples
local count = GetTimecycleModifierCount()
print("we have " .. count .. "timecycle modifiers loaded")Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.