Ir para conteúdo

Zzjj

Membro
  • Registro em

  • Última visita

Tudo que Zzjj postou

  1. Vlw manow Eu tenho outro script que não fuciona, esse script é o mas legal tem como arrumar lidarei outro REP! function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "\nMana atual: " .. getCreatureMana(cid) .. "\nMana máxima: " .. getCreatureMaxMana(cid) .. "") return true end if isPremium(cid) == TRUE then local pid = getPlayerByNameWildcard(param) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "O jogador com o nome " .. param .. " não esta online ou não existe.") return true end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "\nMana de [ " .. getCreatureName(pid) .. " ] atual: " .. getCreatureMana(pid) .. "\nMana de [ " .. getCreatureName(pid) .. " ] máxima: " .. getCreatureMaxMana(pid) .. "") return true else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Apenas jogadores VIP podem utilizar este comando para visualizar informações de outros jogadores.") return true end end
  2. Oque estar errado nesse script para fuciona na versão do TFS 1.0 function onSay(cid, words, param) doPlayerSendTextMessage(cid,22,"Você tem " .. getCreatureMana(cid) .. " de mana agora\nVocê tem " .. getCreatureMaxMana(cid) .. " de mana ao total.") end
  3. Alguém pode mim passar um TFS 10.81 compilado para windows?
  4. Erro [C]: in function 'getCreatureMana' data/talkactions/scripts/mana.lua:3: in function <data/talkactions/scripts/mana.lua:1> Script function onSay(cid, words, param) doPlayerSendTextMessage(cid,21,"Você tem " .. getCreatureMana(cid) .. " de mana agora\nVoce tem " .. getCreatureMaxMana(cid) .. " de mana ao total.") end

Informação Importante

Confirmação de Termo