RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_TIMECYCLE_MODIFIER_VAR_COUNT

GET_TIMECYCLE_MODIFIER_VAR_COUNT

CFX

Signature

lua
GetTimecycleModifierVarCount(modifierName)
-- returns int

Parameters

NameTypeDescription
char*The timecycle modifier name.

Usage

Named call
GetTimecycleModifierVarCount(modifierName)
InvokeNative
Citizen.InvokeNative(0x60FB60FE, modifierName)
lua 1
local varCount = GetTimecycleModifierVarCount("underwater")

if varCount ~= 0 then
  for index = 0, varCount - 1 do
    local varName = GetTimecycleModifierVarNameByIndex(index)

    print(string.format("[%d] %s", index, varName))
  end
end

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details