- Версия MoonLoader
- .027.0-preview
[ML] (error) surv_zone_helper: cannot resume non-suspended coroutine
stack traceback:
[C]: in function 'getAllVehicles'
...A San Andreas Clear Test\moonloader\surv_zone_helper.lua:216: in function <...A San Andreas Clear Test\moonloader\surv_zone_helper.lua:178>
[ML] (error) surv_zone_helper: Script died due to an error. (01D28904)
stack traceback:
[C]: in function 'getAllVehicles'
...A San Andreas Clear Test\moonloader\surv_zone_helper.lua:216: in function <...A San Andreas Clear Test\moonloader\surv_zone_helper.lua:178>
[ML] (error) surv_zone_helper: Script died due to an error. (01D28904)
Lua:
local cars = 0
for i in ipairs(getAllVehicles()) do
cars = cars + 1
end
renderFontDrawText(CountVehicles, default_color_count_vehicle..""..cars, pos_x4_x2, pos_y4_y2, - 1)
cars = 0