local num = {0,0}
require('lib.samp.events').onShowDialog = function(did, style, title, b1, b2, text)
if did == 121 then
if num[2] < num[1] then
sampSendDialogResponse(did, 1, 0, nil)
num[2] = num[2] + 1
end
end
end
function main()
sampRegisterChatCommand('fb', function(arg)
if tonumber(arg) then
num[1],num[2] = tonumber(arg),0
else
sampAddChatMessage('долбоеб, нужно ЧИСЛО!!',-1)
end
end)
wait(-1)
end