- 2,124
- 1,735
- Версия MoonLoader
- .026-beta
Код:
local MyColor = imgui.ImVec4(0.45, 0.55, 0.60, 1.00)
--
imgui.ColorEdit4('test', MyColor, imgui.ColorEditFlags.NoInputs + imgui.ColorEditFlags.NoLabel)
--
[01:16:36.583168] (system) 12: Loaded successfully.
[01:16:40.498781] (error) 12: D:\GTA\GTASHKA\moonloader\12.lua:145: stack index 2, expected userdata, received sol.ImVec4: value at this index does not properly reflect the desired type (bad argument into 'bool(const char*, ImArray<float,4>*, sol::optional<int>)')
stack traceback:
[C]: in function 'ColorEdit4'
D:\GTA\GTASHKA\moonloader\Kill Screen.lua:145: in function 'OnDrawFrame'
D:\GTA\GTASHKA\moonloader\lib\imgui.lua:1378: in function <D:\GTA\GTASHKA\moonloader\lib\imgui.lua:1367>
[01:16:40.500780] (error) 12: Script died due to an error. (11749DBC)