[16:20:14.819014] (error) sampDistanceManager.lua: D:\Games\GTA San Andreas\moonloader\sampDistanceManager.lua:41: stack index 4, expected number, received nil: not a numeric type or numeric string (bad argument into 'bool(const char*, ImValue<int>*, int, int, sol::optional<char const *>)')
stack traceback:
[C]: in function 'SliderInt'
D:\Games\GTA San Andreas\moonloader\sampDistanceManager.lua:41: in function 'OnDrawFrame'
D:\Games\GTA San Andreas\moonloader\lib\imgui.lua:1378: in function <D:\Games\GTA San Andreas\moonloader\lib\imgui.lua:1367>
[16:20:14.822008] (error) sampDistanceManager.lua: Script died due to an error. (21E40AEC)