function main()
wait(0)
local online = isSampAvailable(true)
local result = sampRegisterChatCommand(gun, message)
local result = false
if sampGetChatInputText("/gun") then
local result = true do end
callFunction(loading)
end
function loading()
wait(0)
if online == true
then...