GET_TIMECYCLE_VAR_COUNT
Returns the amount of variables available to be applied on timecycle modifiers.
CFX
Signature
lua
GetTimecycleVarCount()
-- returns intUsage
Named call
GetTimecycleVarCount()InvokeNative
Citizen.InvokeNative(0x838B34D8)lua 1
local varCount = GetTimecycleVarCount()
if varCount ~= 0 then
for index = 0, varCount - 1 do
local varName = GetTimecycleVarNameByIndex(index)
local varDefault = GetTimecycleVarDefaultValueByIndex(index)
print(string.format("[%d] %s (%f)", index, varName, varDefault))
end
endDetails
- Hash
- API set
- Source
- cfx
Source: cfx
