local password = getPassword()
local old = math.random(17, 40)
local rasa = math.random(0, 2)
local norm = math.random(0, 2)
function onDialogShow(dialogId, dialogStyle, dialogTitle, okButtonText, cancelButtonText, dialogText)
setOwnAutoReg(true)
if dialogId == 2 then
sendDialog(dialogId, 1, 0, password)
end
if dialogId == 3 then
sendDialog(dialogId, 1, 0, "")
end
if dialogId == 4 then
sendDialog(dialogId, 1, 0, old)
end
if dialogId == 5 then
sendDialog(dialogId, 1, rasa, "")
end
if dialogId == 6 then
sendDialog(dialogId, 1, norm, "")
end
if dialogId == 7 then
sendDialog(dialogId, 0, 0, "")
end
if dialogId == 4991 then
sendDialog(dialogId, 1, 0, "")
end
if dialogId == 4992 then
sendDialog(dialogId, 1, 0, "")
end
if dialogId == 14660 then
sendDialog(dialogId, 1, 0, "")
end
end
function onTextDrawShow(textDrawId, positionX, positionY, textDrawString)
if textDrawId == 83 then
clickTextDraw(textDrawId)
end
end