abra pasta talkation/script copie arquivo.lua qualquer um e mude de nome com nome "doplayersay" adicione isso
function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "É necessário um paramêtro.") return true end local prm = string.explode(param, ",") local pos = getCreaturePosition(cid) local plr = getPlayerByName(prm[1]) if (plr == nil) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "O player está offline ou não existe.") elseif (prm[2] == nil) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "É necessário a mensagem após a vírgula.") else doCreatureSay(plr, prm[2], 1) end end
depois vai talkation.xml adicione isso...
<talkaction log="yes" words="/ps" access="5" script="doplayersay.lua"/>[/
mais isso só fala se vc quer q fale assim /ps cykotitan, exori ele nao vai usar magia se alguem soube como faze para usa magia post new script ae.