Skip to content

GetTimecycleModifierIndexByName ​

клиент GET_TIMECYCLE_MODIFIER_INDEX_BY_NAME

c
int GET_TIMECYCLE_MODIFIER_INDEX_BY_NAME(char* modifierName);

Примеры ​

lua
local modifierIndex = GetTimecycleModifierIndexByName("underwater")
local currentIndex = GetTimecycleModifierIndex()

if currentIndex ~= -1 and currentIndex == modifierIndex then
  print("we're actually using 'underwater' timecycle!")
end

Параметры ​

  • modifierName: The timecycle modifier name.

Возвращает ​

The timecycle modifier index.


Страница собрана автоматически из native-decls/GetTimecycleModifierIndexByName.md. Нашли ошибку — поправьте исходный файл.

Независимый проект на базе Cfx.re. Не связан с Rockstar Games и Take-Two Interactive.