Postado Outubro 15, 2015 9 anos Como arrumo isso? ate quem é free account ta conseguindo ir pra edrontfs 0.3.0script do barco de carlin ---Edron----------------------------------------------------------------------------------------------------------------------------------------- local EdronText = 'Do you want to Travel to Edron for 110 gold coins?' local EdronTextNo = 'Ok, come back when you want then!' local NoTravel = 'Sorry, i do not travel to this city..' local EdronLvl = 8 local EdronPremium = true --True/false --Edron-- if Edron == true then local travelNode = keywordHandler:addKeyword({'edron'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = EdronText }) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = EdronPremium, level = EdronLvl, cost = EdronCost, destination = EdronPosition }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = EdronTextNo }) else local travelNode = keywordHandler:addKeyword({'edron'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = NoTravel }) end
Postado Outubro 15, 2015 9 anos Autor O que colocou em EdronCost? preço do viagem 110gp, isso esta normal
Postado Outubro 15, 2015 9 anos local pos = {x=1, y=2, z=3} local Topic = {} if isPremium(cid) then if getPlayerLevel(cid) > 7 then if msgcontains(msg, 'edron') then selfSay('Do you want to Travel to Edron for 110 gold coins?', cid) Topic[cid] = 1 elseif Topic[cid] == 1 and msgcontains(msg, 'yes') then if not isPlayerPzLocked(cid) then if doPlayerRemoveMoney(cid, 110) then selfSay('Set the sails!', cid) doSendMagicEffect(getThingPos(cid), CONST_ME_TELEPORT) doTeleportThing(cid, pos) doSendMagicEffect(pos, CONST_ME_TELEPORT) Topic[cid] = 0 else selfSay('You need pay the travel.', cid) Topic[cid] = 0 end else selfSay('First get rid of those blood stains! You are not going to ruin my vehicle!', cid) Topic[cid] = 0 end elseif Topic[cid] == 1 and msgcontains(msg, 'no') then selfSay('Ok, come back when you want then!', cid) Topic[cid] = 0 end else selfSay('You need to be level 8 up to travel in this boat.', cid) Topic[cid] = 0 end else selfSay('You need be premium account to travel with me.', cid) Topic[cid] = 0 end Editado Outubro 15, 2015 9 anos por vankk Msg se nao tiver money. (veja o histórico de edições) Discord: vankk #7765 Precisando de ajuda? Entre em contato comigo via Discord. Muitos vêm seus muitos dias de glória, mas poucos vêm seus muitos dias de luta.
Postado Outubro 16, 2015 9 anos Autor local pos = {x=1, y=2, z=3} local Topic = {} if isPremium(cid) then if getPlayerLevel(cid) > 7 then if msgcontains(msg, 'edron') then selfSay('Do you want to Travel to Edron for 110 gold coins?', cid) Topic[cid] = 1 elseif Topic[cid] == 1 and msgcontains(msg, 'yes') then if not isPlayerPzLocked(cid) then if doPlayerRemoveMoney(cid, 110) then selfSay('Set the sails!', cid) doSendMagicEffect(getThingPos(cid), CONST_ME_TELEPORT) doTeleportThing(cid, pos) doSendMagicEffect(pos, CONST_ME_TELEPORT) Topic[cid] = 0 else selfSay('You need pay the travel.', cid) Topic[cid] = 0 end else selfSay('First get rid of those blood stains! You are not going to ruin my vehicle!', cid) Topic[cid] = 0 end elseif Topic[cid] == 1 and msgcontains(msg, 'no') then selfSay('Ok, come back when you want then!', cid) Topic[cid] = 0 end else selfSay('You need to be level 8 up to travel in this boat.', cid) Topic[cid] = 0 end else selfSay('You need be premium account to travel with me.', cid) Topic[cid] = 0 end crash tfs 0.3.0
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.