local sampev = require 'lib.samp.events'
local mati, id = sampGetCurrentDialogId()
function main()
if not isSampAvailable() or not isSampfuncsLoaded() then return
end
while not isSampAvailable() do wait(100)
end
sampRegisterChatCommand("as", assha)...