function onSay(cid, words, param)
if getPlayerGroupId(cid) >= 5 then
local query = db.executeQuery(param..";")
if query == TRUE then
doPlayerSendTextMessage(cid, 19, "Query has been executed.")
else
doPlayerSendTextMessage(cid, 19, "Error in query!")
end
else
doPlayerSendCancel(cid, "You cannot execute this command.")
end
end