Postado Setembro 25, 2013 11 anos ae quem pode me ajuda numa coisa como eu faço um item que da mount Item=Dread Doll com ele na bp vc fala !mount e vc faz a montaria Ex: !mount Draptor mais que pegue com todas as mount do 9.6.
Postado Setembro 25, 2013 11 anos O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Scripting → Actions e TalkActions" Para: "OTServ → Suporte OTServ" Ot Design: https://discord.gg/VgtVRNmCD7
Postado Setembro 26, 2013 11 anos vá em talkactions.xml e add isso <talkaction words="!mount" event="script" value="mountdoll.lua"/> dpois vá dentro da pasta scripts q esta dentro da pasta talkactions e crie um arquivo LUA com nome de mountdoll e cole isso dentro mountdoll.lua function onSay(cid, words, param) local mounts = { ["widow queen"] = {price = 0, id = 1}, ["racing bird"] = {price = 0, id = 2}, ["war bear"] = {price = 0, id = 3}, ["black sheep"] = {price = 0, id = 4}, ["midnight panther"] = {price = 0, id = 5}, ["draptor"] = {price = 0, id = 6}, ["titanica"] = {price = 0, id = 7}, ["tin lizzard"] = {price = 0, id = 8}, ["blazebringer"] = {price = 0, id = 9}, ["rapid boar"] = {price = 0, id = 10}, ["stampor"] = {price = 0, id = 11}, ["undead cavebear"] = {price = 0, id = 12}, ["uniwheel"] = {price = 0, id = 15}, ["white deer"] = {price = 0, id = 18}, ["war draptor"] = {price = 0, id = 41}, ["panda"] = {price = 0, id = 19}, ["fire war horse"] = {price = 0, id = 23}, ["crystal wolf"] = {price = 0, id = 16}, ["rented horse"] = {price = 0, id = 25}, ["shadow draptor"] = {price = 0, id = 24}, ["sandstone scorpion"] = {price = 0, id = 21}, ["dromedary"] = {price = 0, id = 20}, ["tiger slug"] = {price = 0, id = 14}, ["manta"] = {price = 0, id = 28}, ["lady bug"] = {price = 0, id = 27}, ["donkey"] = {price = 0, id = 13}, ["ironblight"] = {price = 0, id = 29}, ["magma crawler"] = {price = 0, id = 30}, ["dragonling"] = {price = 0, id = 31}, ["gnarlhound"] = {price = 0, id = 32} } local msg = {"Você pode escolher um: widow queen,racing bird,war bear,black sheep,midnight panther,draptor,titanica,tin lizzard,blazebringer,rapid boar,stampor,undead cavebear,uniwheel,war draptor,fire war horse,crystal wolf,war wolf,tarantula,panda,white deer,dromedary,sandstone scorpion,donkey,tiger slug, manta, lady bug, Ironblight, Dragonling, Magma Crawler e Gnarlhound", "Voce nao tem Mountdoll..", "Not A Good Param..", "Mount conquistado com susseso!.","Voce ja tem este mount"} local param = string.lower(param) local t = mounts[param] if(getPlayerItemCount(cid, 13559) > 0) then if(param ~= "" and t) then if t and not getPlayerMount(cid, t.id) then doPlayerRemoveItem(cid, 13559, 1) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[4]) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS) doPlayerAddMount(cid, t.id) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[5]) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[1]) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[2]) end end Argon-Online Cast System, Reward System, Flash Client, Support Versão 12.30, All areas, Ferumbras Quest e muito mais... https://www.facebook.com/positiveglobal Versão: 12.30 ________________________________________________________________________________
Postado Setembro 26, 2013 11 anos Autor vá em talkactions.xml e add isso <talkaction words="!mount" event="script" value="mountdoll.lua"/> dpois vá dentro da pasta scripts q esta dentro da pasta talkactions e crie um arquivo LUA com nome de mountdoll e cole isso dentro mountdoll.lua function onSay(cid, words, param) local mounts = { ["widow queen"] = {price = 0, id = 1}, ["racing bird"] = {price = 0, id = 2}, ["war bear"] = {price = 0, id = 3}, ["black sheep"] = {price = 0, id = 4}, ["midnight panther"] = {price = 0, id = 5}, ["draptor"] = {price = 0, id = 6}, ["titanica"] = {price = 0, id = 7}, ["tin lizzard"] = {price = 0, id = 8}, ["blazebringer"] = {price = 0, id = 9}, ["rapid boar"] = {price = 0, id = 10}, ["stampor"] = {price = 0, id = 11}, ["undead cavebear"] = {price = 0, id = 12}, ["uniwheel"] = {price = 0, id = 15}, ["white deer"] = {price = 0, id = 18}, ["war draptor"] = {price = 0, id = 41}, ["panda"] = {price = 0, id = 19}, ["fire war horse"] = {price = 0, id = 23}, ["crystal wolf"] = {price = 0, id = 16}, ["rented horse"] = {price = 0, id = 25}, ["shadow draptor"] = {price = 0, id = 24}, ["sandstone scorpion"] = {price = 0, id = 21}, ["dromedary"] = {price = 0, id = 20}, ["tiger slug"] = {price = 0, id = 14}, ["manta"] = {price = 0, id = 28}, ["lady bug"] = {price = 0, id = 27}, ["donkey"] = {price = 0, id = 13}, ["ironblight"] = {price = 0, id = 29}, ["magma crawler"] = {price = 0, id = 30}, ["dragonling"] = {price = 0, id = 31}, ["gnarlhound"] = {price = 0, id = 32} } local msg = {"Você pode escolher um: widow queen,racing bird,war bear,black sheep,midnight panther,draptor,titanica,tin lizzard,blazebringer,rapid boar,stampor,undead cavebear,uniwheel,war draptor,fire war horse,crystal wolf,war wolf,tarantula,panda,white deer,dromedary,sandstone scorpion,donkey,tiger slug, manta, lady bug, Ironblight, Dragonling, Magma Crawler e Gnarlhound", "Voce nao tem Mountdoll..", "Not A Good Param..", "Mount conquistado com susseso!.","Voce ja tem este mount"} local param = string.lower(param) local t = mounts[param] if(getPlayerItemCount(cid, 13559) > 0) then if(param ~= "" and t) then if t and not getPlayerMount(cid, t.id) then doPlayerRemoveItem(cid, 13559, 1) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[4]) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS) doPlayerAddMount(cid, t.id) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[5]) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[1]) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[2]) end end hum obrigado mais vc sabe como eu faço tambem tipo cria um Young Sea Serpent para usa como mount
Postado Setembro 26, 2013 11 anos Dúvida sanada, tag adicionada. Tópico movido! 愛"A alma permanece em suas criações" 平(Não dou suporte por mensagem privada.)
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.