galaverna 24 Postado Outubro 1, 2010 Share Postado Outubro 1, 2010 (editado) eu kero fazer com q esse sistem ride que eu fiz enves de trocar outfit eu keria que trocasse outfit e fosse para o piso7 ( fly Sistem) function onUse(cid, item, frompos, item2, topos) local pokemons = { ["Ponyta"] = {7, 400, "Ponyta", "Ponyta Riding"}, } ride = pokemons[getCreatureName(getCreatureSummons(cid)[1])] if #getCreatureSummons(cid) == 1 and getPlayerPremiumDays(cid) <= 0 and getPlayerAccess(cid) <= 0 then doPlayerSendTextMessage(cid, 23, "Sorry, only premium players.") elseif #getCreatureSummons(cid) == 0 and getPlayerPremiumDays(cid) <= 0 and getPlayerAccess(cid) <= 0 then doPlayerSendTextMessage(cid, 23, "Sorry, only premium players.") elseif #getCreatureSummons(cid) == 0 and getPlayerPremiumDays(cid) >= 1 and getPlayerAccess(cid) <= 0 then doPlayerSendTextMessage(cid, 23, "Call your pokemon.") elseif #getCreatureSummons(cid) == 0 and getPlayerAccess(cid) >= 4 then doPlayerSendTextMessage(cid, 23, "Call your pokemon.") elseif ride and #getCreatureSummons(cid) == 1 and getPlayerPremiumDays(cid) >= 1 or getPlayerAccess(cid) >= 4 and getPlayerStorageValue(cid,1564) == -1 then doSetMonsterOutfit(cid, ride[4], -1) doChangeSpeed(cid,ride[2]) setPlayerStorageValue(cid,1564,1) doCreatureSay(cid,"".. ride[3] ..", Let's ride!",1) elseif ride and #getCreatureSummons(cid) == 1 and getPlayerPremiumDays(cid) >= 1 or getPlayerAccess(cid) >= 4 and getPlayerStorageValue(cid,1564) == 1 then doSetMonsterOutfit(cid, ride[4], 0) setPlayerStorageValue(cid,1564,-1) doCreatureSay(cid,"".. ride[3] ..", Stop ride!",1) end end ajuda ai dou REP+ Editado Outubro 1, 2010 por galaverna Link para o comentário Compartilhar em outros sites More sharing options...
Posts Recomendados