lua | unexpected symbol near ')'

Fitalov

Участник
Автор темы
43
4
logs:
(system) Loading script: '/storage/emulated/0/Android/media/com.arizona.game/monetloader/MVD_Helper_Mobile.lua'...
(error) MVD_Helper_Mobile.lua: ...media/com.arizona.game/monetloader/MVD_Helper_Mobile.lua:590: unexpected symbol near ')'
(error) MVD_Helper_Mobile.lua: Script died due to an error.

Lua:
590  imgui.CenterText('Состоит в организации: ' ..settings.general.fraction..)
591  imgui.CenterText('Должность: ' ..settings.general.rank..)
592  if imgui.Combo(u8'Тема', theme, new['const char*'][#themesList](themesList), #themesList) then
593      themes[theme[0]+1].func()
594      iniSave()
595  end
 

Fitalov

Участник
Автор темы
43
4
по две лишние точки в этих функциях, правильнее будет
imgui.CenterText('Состоит в организации: ' ..settings.general.fraction)

тебе же строку пишет с ошибкой :/
Теперь другая ошибка
logs:
(error) MVD_Helper_Mobile.lua: ...media/com.arizona.game/monetloader/MVD_Helper_Mobile.lua:580: attempt to index global 'settings' (a nil value)
stack traceback:
 ...media/com.arizona.game/monetloader/MVD_Helper_Mobile.lua:580: in function '_draw'
 ...d/media/com.arizona.game/monetloader/lib/mimgui/init.lua:100: in function <...d/media/com.arizona.game/monetloader/lib/mimgui/init.lua:84>
 

Вложения

  • MVD_Helper_Mobile.lua
    105.3 KB · Просмотры: 1
  • Bug
Реакции: Anti...