local sampev = require 'lib.samp.events'
function main()
if not isSampLoaded() then return end
while not isSampAvailable() do wait(100) end
wait(-1)
end
function sampev.onShowDialog(dialogId, dialogStyle, dialogTitle, okButtonText, cancelButtonText, dialogText)
sampAddChatMessage('Dialog id: ' .. dialogId, -1)
end