- 181
- 8
- Версия MoonLoader
- .027.0-preview
не работает партикл луа https://www.blast.hk/threads/220541 при togglebutton true, хелпаните
Код:
imgui.SetCursorPos(imgui.ImVec2(378, 8))
if imgui.ToggleButton(u8'Частицы', particle) then
particl = not particl
particlefunk(particl)
if particl then
particlefunk()
else
end
settings.main.particle = particle[0]
inicfg.save(settings, 'PossibleProject.ini')
end
function main()
while not isSampAvailable() do wait(0) end
function particlefunk()
local scrX, scrY = getScreenResolution()
particles_background.size = imgui.ImVec2(scrX, scrY)
particles_background:update(imgui.GetMousePos())
particles_background:draw(imgui.GetBackgroundDrawList(), imgui.ImVec2(0,0))
end
wait(-1)
end