Testei Aki Funcionou Normal A Script sem erro 8.6
function onSay(cid, words, param, channel)
if(param == '') thendoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "\nVida atual: " .. getCreatureHealth(cid) .. "\nVida maxima: " .. getCreatureMaxHealth(cid) .. "")return trueendif isPremium(cid) == TRUE thenlocal pid = getPlayerByNameWildcard(param)if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) thendoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "O jogador com o nome " .. param .. " nao esta online ou nao existe.")return trueenddoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "\nVida de [ " .. getCreatureName(pid) .. " ] atual: " .. getCreatureHealth(pid) .. "\nVida de [ " .. getCreatureName(pid) .. " ] maxima: " .. getCreatureMaxHealth(pid) .. "")return trueelsedoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Apenas jogadores VIP podem utilizar este comando para visualizar informacoes de outros jogadores.")return trueendend
<talkaction words="!vida" event="script" value="vida.lua"/>








info
Grupo: Campones
Registrado: 18/08/12
Posts: 61
Reputação: -1
O comando !vida do meu Servidor está bugado.
Olhei vários tópicos e não funfo, aparece esse erro :
Me ajuda porfavor.