- 1,295
- 249
- Версия MoonLoader
- .026-beta
Lua:
if settings.main.vistavka and vistavka_launch then
if tovar_kolvo <= 19 then
for i = 1, tonumber(tovar_kolvo) do
wait(30)
sampSendDialogResponse(3040, 1, 0, false)
wait(0)
sampSendDialogResponse(3050, 1, i-1, false)
wait(100)
end
vistavka_launch = false
elseif 19 < tovar_kolvo and tovar_kolvo < 39 then
for i = 1, 19 do
wait(30)
sampSendDialogResponse(3040, 1, 0, false)
wait(0)
sampSendDialogResponse(3050, 1, i-1, false)
wait(100)
end
sampSendDialogResponse(3050, 1, 20, false)
wait(30)
for i = 1, tonumber(tovar_kolvo)-19 do
wait(30)
sampSendDialogResponse(3040, 1, 0, false)
wait(0)
sampSendDialogResponse(3050, 1, i-1, false)
wait(100)
end
vistavka_launch = false
end
end