Ir para conteúdo
  • Cadastre-se

FlavioHulk

Membro
  • Total de itens

    463
  • Registro em

  • Última visita

  • Dias Ganhos

    7

Tudo que FlavioHulk postou

  1. -- Constant indexes for defining default messages. MESSAGE_GREET = 1 -- When the player greets the npc. MESSAGE_FAREWELL = 2 -- When the player unGreets the npc. MESSAGE_BUY = 3 -- When the npc asks the player if he wants to buy something. MESSAGE_ONBUY = 4 -- When the player successfully buys something via talk. MESSAGE_BOUGHT = 5 -- When the player bought something through the shop window. MESSAGE_SELL = 6 -- When the npc asks the player if he wants to sell something. MESSAGE_ONSELL = 7 -- When the player successfully sells something via talk. MESSAGE_SOLD = 8 -- When the player sold
  2. Apaga a linha e redigita novamente, o editor tá reconhecendo com caractere especial
  3. Realmente funciona dessa maneira, porém é o que está descrito no tópico haha, valeu !
  4. posta seu script de reload que está na pasta talkactions
  5. local ip = {} local function checkPlayerIp(cid) if not isPlayer(cid) then return end if ip[getPlayerIp(cid)] == true then return true end return false end function onStepIn(cid, item, position, fromPosition) if not isPlayer(cid) then return true end if checkPlayerIp(cid) then doTeleportThing(cid, fromPosition, false) doSendMagicEffect(position, CONST_ME_MAGIC_BLUE doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você não pode entrar aqui com mais de um IP") else ip[getPlayerIp(cid)] = true end return true end T
  6. Qual TFS? É fundamental informar o TFS, assim saberemos trabalhar melhor em cima das possíveis distros !
  7. Há tutoriais aqui no fórum, e na net, mano... Dá uma procurada
  8. qual a versão do seu TFS? Você instalou as storages na Lib?
  9. Tentei kk, não manjo de 0.4 kk local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 20000) setConditionFormula(condition, -0.9, 0, -0.9, 0) setCombatCondition(combat, condition) function onCastSpell(cid, var) setPlayerStorageValue(cid, 12019, 1) addEvent(function(id) if not isPlayer(id) then return end setPlayerStorageValue(id, 12019, -1)
  10. post your script, man... And what is version of distro?
  11. tu quer um script do zero? Ou não sabe instalar o que já tem no Tibiaking?
  12. local storage = 502154 function onSay(player, words, param) if player:getExhaustion(storage) > 0 then player:sendCancelMessage(RETURNVALUE_YOUAREEXHAUSTED) return false end if player:stopLiveCast(param) then player:setExhaustion(storage, 5) player:sendTextMessage(MESSAGE_INFO_DESCR, "You have stopped casting your gameplay.") else player:sendCancelMessage("You're not casting your gameplay.") end return false end
  13. Cara, no github do Malucooo há esses sistemas, dê uma procurada lá
  14. function onUse(player, item, fromPosition, target, toPosition, isHotkey) if player:getSkull() == SKULL_RED then player:getPosition():sendMagicEffect(CONST_ME_POFF) player:sendCancelMessage('Você esta red skull.') return true end player:teleportTo(player:getTown():getTemplePosition()) player:getPosition():sendMagicEffect(CONST_ME_TELEPORT) return true end
  15. Use o OT Item Editor para colocar as propriedades correta dos itens !
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo