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. Нашли ошибку — поправьте исходный файл.