- Версия MoonLoader
- .026-beta
скрипт крашится при создании ImGui...
42 строка:
Код:
[15:59:30.759427] (error) adminTools.lua: E:\unvardo winter gta\moonloader\adminTools.lua:42: attempt to call global 'ImVec4' (a nil value)
stack traceback:
E:\unvardo winter gta\moonloader\adminTools.lua:42: in function 'OnDrawFrame'
E:\unvardo winter gta\moonloader\lib\imgui.lua:1377: in function <E:\unvardo winter gta\moonloader\lib\imgui.lua:1366>
[15:59:30.759427] (error) adminTools.lua: Script died due to an error. (01BCF33C)
Lua:
if imgui.CustomButton(u8'Статистика игрока', ImVec4(0.9, 0.1, 0.6, 0.40), ImVec4(0.9, 0.1, 0.6, 1.0), ImVec4(0.73, 0.09, 0.52, 1.0), imgui.ImVec2(112, 20)) then sampSendClickPlayer(tonumber(idf), 0) gg = 1 end