RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_TIMECYCLE_MODIFIER_NAME_BY_INDEX

GET_TIMECYCLE_MODIFIER_NAME_BY_INDEX

CFX

Signature

lua
GetTimecycleModifierNameByIndex(0)
-- returns char*

Parameters

NameTypeDescription
intThe timecycle modifier index.

Usage

Named call
GetTimecycleModifierNameByIndex(0)
InvokeNative
Citizen.InvokeNative(0x28CB8608, 0)
lua 1
local modifierIndex = GetTimecycleModifierIndex()

if modifierIndex ~= -1 then
  local modifierName = GetTimecycleModifierNameByIndex(modifierIndex)
  print("current timecycle name is " .. modifierName)
end

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details