Postado Junho 25, 2018 7 anos TFS 0.3.6 Eu gostaria de um script !modo hokage (!modo mizukage etc...) Se eu usar o !modo hokage, ele dá outfit (953) e dá 30 de ML e !modo mizukage, dá outfit mas ao inves de dar ML dá Sword
Postado Junho 25, 2018 7 anos Diretor fiz aqui function onSay(cid, words, param) ----hokage local roupahokage = 953 if param == "hokage" then if getPlayerSex(cid) == 1 then doSetCreatureOutfit(cid,{lookType = roupahokage, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0}, -1) doPlayerAddSkillTry(cid,SKILL__MAGLEVEL,30) else doPlayerAddSkillTry(cid, SKILL__MAGLEVEL, 30) doSetCreatureOutfit(cid,{lookType = roupahokage, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0}, -1) end end ----mizukage local roupamizukage = 953 if param == "mizukage" then if getPlayerSex(cid) == 1 then doSetCreatureOutfit(cid,{lookType = roupamizukage, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0}, -1) doPlayerAddSkillTry(cid,SKILL_SWORD,30) else doSetCreatureOutfit(cid,{lookType = roupamizukage, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0}, -1) doPlayerAddSkillTry(cid,SKILL_SWORD,30) end end return true end <talkaction log="no" words="!modo" event="script" value="modo.lua"/> Editado Junho 25, 2018 7 anos por L3K0T (veja o histórico de edições) Eu sou um entusiasta da programação apaixonado por ajudar a comunidade open source a crescer. Sempre em busca de novos desafios e oportunidades para contribuir com meu código. #OpenSource #Programação #Contribuição
Postado Junho 26, 2018 7 anos local config = { lookHokage = 953, storageHokage = 15412, lookMizukage = 953, storageMizukage = 15413 } function onSay(cid, words, param) -- Hokage if param == "hokage" then if getPlayerStorageValue(cid, config.storageHokage) > 0 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'Você já está no modo Hokage!') return false end if getPlayerStorageValue(cid, config.storageMizukage) > 0 then doPlayerSetStorageValue(cid, config.storageMizukage, 0) end doSetCreatureOutfit(cid,{lookType = config.lookHokage, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0}, -1) doPlayerAddSkillTry(cid, SKILL__MAGLEVEL, 30) doPlayerSetStorageValue(cid, config.storageHokage, 1) -- Mizukage elseif param == "mizukage" then if getPlayerStorageValue(cid, config.storageMizukage) > 0 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'Você já está no modo Mizukage!') return false end if getPlayerStorageValue(cid, config.storageHokage) > 0 then doPlayerSetStorageValue(cid, config.storageHokage, 0) end doSetCreatureOutfit(cid, {lookType = config.lookMizukage, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0}, -1) doPlayerAddSkillTry(cid, SKILL_SWORD, 30) doPlayerSetStorageValue(cid, config.storageMizukage, 1) end return false end
Postado Junho 28, 2018 6 anos Autor Em 25/06/2018 em 13:56, L3K0T disse: fiz aqui function onSay(cid, words, param) ----hokage local roupahokage = 953 if param == "hokage" then if getPlayerSex(cid) == 1 then doSetCreatureOutfit(cid,{lookType = roupahokage, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0}, -1) doPlayerAddSkillTry(cid,SKILL__MAGLEVEL,30) else doPlayerAddSkillTry(cid, SKILL__MAGLEVEL, 30) doSetCreatureOutfit(cid,{lookType = roupahokage, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0}, -1) end end ----mizukage local roupamizukage = 953 if param == "mizukage" then if getPlayerSex(cid) == 1 then doSetCreatureOutfit(cid,{lookType = roupamizukage, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0}, -1) doPlayerAddSkillTry(cid,SKILL_SWORD,30) else doSetCreatureOutfit(cid,{lookType = roupamizukage, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = 0}, -1) doPlayerAddSkillTry(cid,SKILL_SWORD,30) end end return true end <talkaction log="no" words="!modo" event="script" value="modo.lua"/> Ei você pode criar mais 3 abas? que tem 5 kages xD MODO HOKAGE Este item pode ser usado para aumentar 2000 de speed e 10% do seu magic level e sword. MODO MIZUKAGEEste item pode ser usado para aumentar 2000 de speed e 10% do seu magic level e distance. MODO KAZEKAGEEste item pode ser usado para aumentar 2000 de speed e 10% do seu magic level e 2000 de vida. MODO TSUCHIKAGE Este item pode ser usado para aumentar 2000 de speed e 10% do seu magic level e shield. MODO RAIKAGE Este item pode ser usado para aumentar 2000 de speed e 10% do seu magic level e glove. Editado Junho 28, 2018 6 anos por xMateuss (veja o histórico de edições)
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.