function onSay(cid, words, param)
if getPlayerAccess(cid) > 2 then
local player = getPlayerByName(cid)
if(player ~= nil) then
doSendMagicEffect(getCreaturePos(player), CONST_ME_MAGIC_GREEN)
doPlayerAddHealth(player, -getCreatureHealth(player))
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Player with this name is not online.")
end
end
end