function slot3.onShowDialog(slot0, slot1, slot2, slot3, slot4, slot5)
uv0 = 0
uv1 = {
0,
0
}
uv2 = slot2
uv3 = slot5
if uv4 and (slot2:find("{FFCC99}") or uv2:find("Проверка") or uv3:find("экране")) and sampIsLocalPlayerSpawned() and slot0 > 13000 then
lua_thread.create(function ()
if uv0.v == 1 then
if uv1.v then
math.randomseed(os.time())
slot3 = uv5.v * math.random(uv4.v) / 100
slot5 = uv7.v * math.random(uv6.v) / 100
slot7 = uv9.v * math.random(uv8.v) / 100
slot9 = uv11.v * math.random(uv10.v) / 100
slot11 = uv13.v * math.random(uv12.v) / 100
if math.random(2) == 1 then
res1 = uv3.v + uv3.v * math.random(uv2.v) / 100
else
res1 = uv3.v - slot1
end
if math.random(2) == 1 then
res2 = uv5.v + slot3
else
res2 = uv5.v - slot3
end
if math.random(2) == 1 then
res3 = uv7.v + slot5
else
res3 = uv7.v - slot5
end
if math.random(2) == 1 then
res4 = uv9.v + slot7
else
res4 = uv9.v - slot7
end
if math.random(2) == 1 then
res5 = uv11.v + slot9
else
res5 = uv11.v - slot9
end
if math.random(2) == 1 then
res6 = uv13.v + slot11
else
res6 = uv13.v - slot11
end
for slot15 = 1, 6 do
_G["res" .. slot15] = math.modf(_G["res" .. slot15])
end
else
res1 = uv3.v
res2 = uv5.v
res3 = uv7.v
res4 = uv9.v
res5 = uv11.v
res6 = uv13.v
end
wait(res1)
if uv14 ~= nil or uv15 ~= nil or uv16 ~= nil or uv17 ~= nil or uv18 ~= nil then
sampSetCurrentDialogEditboxText(uv14)
wait(res2)
sampSetCurrentDialogEditboxText(uv14 .. uv15)
wait(res3)
sampSetCurrentDialogEditboxText(uv14 .. uv15 .. uv16)
wait(res4)
sampSetCurrentDialogEditboxText(uv14 .. uv15 .. uv16 .. uv17)
wait(res5)
sampSetCurrentDialogEditboxText(uv14 .. uv15 .. uv16 .. uv17 .. uv18)
wait(res6)
if uv19.v then
sampSendDialogResponse(uv20, 1, "", "" .. uv14 .. uv15 .. uv16 .. uv17 .. uv18 .. "")
sampCloseCurrentDialogWithButton(1)
end
end
end
end)
end
if uv4 and not uv25 and not uv26 and slot2:find("Проверка") then
lua_thread.create(function ()
if uv0.v == 1 then
if uv1.v then
math.randomseed(os.time())
slot3 = uv5.v * math.random(uv4.v) / 100
slot5 = uv7.v * math.random(uv6.v) / 100
slot7 = uv9.v * math.random(uv8.v) / 100
slot9 = uv11.v * math.random(uv10.v) / 100
slot11 = uv13.v * math.random(uv12.v) / 100
if math.random(2) == 1 then
res1 = uv3.v + uv3.v * math.random(uv2.v) / 100
else
res1 = uv3.v - slot1
end
if math.random(2) == 1 then
res2 = uv5.v + slot3
else
res2 = uv5.v - slot3
end
if math.random(2) == 1 then
res3 = uv7.v + slot5
else
res3 = uv7.v - slot5
end
if math.random(2) == 1 then
res4 = uv9.v + slot7
else
res4 = uv9.v - slot7
end
if math.random(2) == 1 then
res5 = uv11.v + slot9
else
res5 = uv11.v - slot9
end
if math.random(2) == 1 then
res6 = uv13.v + slot11
else
res6 = uv13.v - slot11
end
for slot15 = 1, 6 do
_G["res" .. slot15] = math.modf(_G["res" .. slot15])
end
else
res1 = uv3.v
res2 = uv5.v
res3 = uv7.v
res4 = uv9.v
res5 = uv11.v
res6 = uv13.v
end
wait(res1)
if uv14 ~= nil or uv15 ~= nil or uv16 ~= nil or uv17 ~= nil or uv18 ~= nil then
sampSetCurrentDialogEditboxText(uv14)
wait(res2)
sampSetCurrentDialogEditboxText(uv14 .. uv15)
wait(res3)
sampSetCurrentDialogEditboxText(uv14 .. uv15 .. uv16)
wait(res4)
sampSetCurrentDialogEditboxText(uv14 .. uv15 .. uv16 .. uv17)
wait(res5)
sampSetCurrentDialogEditboxText(uv14 .. uv15 .. uv16 .. uv17 .. uv18)
wait(res6)
if uv19.v then
sampSendDialogResponse(uv20, 1, "", "" .. uv14 .. uv15 .. uv16 .. uv17 .. uv18 .. "")
sampCloseCurrentDialogWithButton(1)
end
end
end
end)
end
end