Postado Maio 17, 2014 11 anos Autor Muito obrigado Preciso só de mais uma coisinha.. Um script apenas pros player dessas promotion 3 poder passar no tile. Antica Global - Server Online SITE: http://anticaglobal.com/ IP: anticaglobal.com EXP: 999x [sTAGES] ML: 300x SKILL: 500x LOOT: 10x VERSÃO: 10.77 PORTA: 7171 Stages: 1 - 8 level, 999x 9 - 20 level, 950x 21 - 50 level, 800x 51 - 100 level, 750x 101 - 130 level, 650x 131 - 180 level, 550x 181 - 230 level, 450x 231 - 300 level, 350x 301+ level, 300x
Postado Maio 17, 2014 11 anos Aqui está: function onStepIn(cid, item, position, fromPosition) local player = Player(cid) local config = { actionID = 1000, -- action id que você botará no tile storage = 50, -- mesma storage dos scripts anteriores storage_amount = 0, mensagem = "You must have an epic vocation.", } if item.actionid == config.actionID then if isPlayer(cid) then if player:getStorageValue(config.storage) - os.time() <= 0 then player:teleportTo(fromPosition, true) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, config.mensagem) end end end return true end Não se esqueça de por o actionID configurado tanto no script, quanto no map editor. 愛"A alma permanece em suas criações" 平(Não dou suporte por mensagem privada.)
Postado Maio 17, 2014 11 anos Autor Deu um erro: Antica Global - Server Online SITE: http://anticaglobal.com/ IP: anticaglobal.com EXP: 999x [sTAGES] ML: 300x SKILL: 500x LOOT: 10x VERSÃO: 10.77 PORTA: 7171 Stages: 1 - 8 level, 999x 9 - 20 level, 950x 21 - 50 level, 800x 51 - 100 level, 750x 101 - 130 level, 650x 131 - 180 level, 550x 181 - 230 level, 450x 231 - 300 level, 350x 301+ level, 300x
Postado Maio 17, 2014 11 anos Você botou no movements né? Mostra a tag que você fez para .xml 愛"A alma permanece em suas criações" 平(Não dou suporte por mensagem privada.)
Postado Maio 17, 2014 11 anos Autor Você botou no movements né? Mostra a tag que você fez para .xml <movevent event="StepIn" actionid="6539" script="vocationtile.lua"/> Tava em actions =x coloquei agora em movements.. Ta certo ? Se tiver ta com um problema =x Antica Global - Server Online SITE: http://anticaglobal.com/ IP: anticaglobal.com EXP: 999x [sTAGES] ML: 300x SKILL: 500x LOOT: 10x VERSÃO: 10.77 PORTA: 7171 Stages: 1 - 8 level, 999x 9 - 20 level, 950x 21 - 50 level, 800x 51 - 100 level, 750x 101 - 130 level, 650x 131 - 180 level, 550x 181 - 230 level, 450x 231 - 300 level, 350x 301+ level, 300x
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.