RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_TIMECYCLE_VAR_NAME_BY_INDEX

GET_TIMECYCLE_VAR_NAME_BY_INDEX

See [GET_TIMECYCLE_VAR_COUNT](#\_0x838B34D8).

CFX

Signature

lua
GetTimecycleVarNameByIndex(0)
-- returns char*

Parameters

NameTypeDescription
intThe index of variable.

Usage

Named call
GetTimecycleVarNameByIndex(0)
InvokeNative
Citizen.InvokeNative(0xC6C55AAF, 0)
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
end

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details