Postado Março 7, 2018 7 anos Galera , no meu server de naruto e nele tem um sistema de "correr" que aumenta a velocidade e muda a outfit mas ao clicar nele (é um action) ao clicar nele num menu do jogo ele muda pra uma outfit que eu nao quero. alguem me ajuda? 4 minutos atrás, Lojons disse: Galera , no meu server de naruto e nele tem um sistema de "correr" que aumenta a velocidade e muda a outfit mas ao clicar nele (é um action) ao clicar nele num menu do jogo ele muda pra uma outfit que eu nao quero. alguem me ajuda?Run.lua
Postado Março 8, 2018 7 anos function onUse(cid, item, itemEx) local info = { speed = 100, storage = 2135, } if not isCreature(cid) then return true end if checkCmd(cid, "mold") then return doPlayerSendCancel(cid, "you cannot running while you are mold chakra.") end if checkCmd(cid, "rest") then return doPlayerSendCancel(cid, "you cannot running while you are resting.") end if getPlayerStorageValue(cid, sto_nara[2]) == 0 then return doPlayerSendCancel(cid, "Sorry this is not possible.") end if(getPlayerStorageValue(cid, sto_jutsu[1]) > os.time() and getPlayerStorageValue(cid, sto_jutsu[1]) < 100+os.time()) then doPlayerSendTextMessage(cid, 24, "Voce ja esta fazendo um jutsu") return true end if checkJutsu(cid, "Kagemane") then return doPlayerSendCancel(cid, "you cannot use jutsu") end if checkJutsu(cid, "Nikudan") then return doPlayerSendCancel(cid, "you cannot use jutsu") end if checkJutsu(cid, "Hari") then return doPlayerSendCancel(cid, "you cannot use jutsu") end if getPlayerStorageValue(cid, sto_gen[1]) == 0 then return doPlayerSendCancel(cid, "Sorry this is not possible.") end if getPlayerStorageValue(cid, temp.storage) >= os.time() then return doPlayerSendCancel(cid, "You are exhausted.") end if not infoClan[getPlayerVocation(cid)] then return doPlayerSendCancel(cid, "You cant use this item.") end if (getCreatureStorage(cid, info.storage) > 0) then if getPlayerStorageValue(cid, 87564) >= 1 then setPlayerStorageValue(cid,87564, 0) doSendMagicEffect(getThingPos(cid), 110) end if getPlayerStorageValue(cid, initStorages.graduation) == "Gennin" then end doPlayerSendCancel(cid, "You are now running.") doChangeSpeed(cid, -getCreatureSpeed(cid)) doChangeSpeed(cid, getCreatureBaseSpeed(cid) + info.speed) setPlayerStorageValue(cid, info.storage, 0) setPlayerStorageValue(cid, temp.storage, os.time() + temp.exhausted) setPlayerStorageValue(cid, info.storage, 0) else doPlayerSendCancel(cid, "You are already running.") end return true end
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.