
jpxtnem
Membro
-
Registro em
-
Última visita
Histórico de Curtidas
-
jpxtnem deu reputação a Stigal em [Resolvido] Duvida VipFly Vip:Data > Action > Order
Procure por: (ou algo do tipo)
if getPlayerStorageValue(cid, 6598754) == 1 or getPlayerStorageValue(cid, 6598755) == 1 then *Caso não achar o código, identifique a Storage do seu fly e faça esse procedimento.
Coloque acima disso esse código:
if not isPremium(cid) then doPlayerSendCancel(cid, "Apenas membros Premium podem usar.") return true end -
-
Ao Registrar (Logar) Ganha 3 Dias Vip:Data > Creaturescripts > Scripts
Crie um arquivo.lua e adicione isso:
function onLogin(cid) local storage,days = (getPlayerAccountId(cid)+550),3 if getGlobalStorageValue(storage) <= 0 then setGlobalStorageValue(storage, 1) addVipDays(cid, days) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você recebeu um "..days.." dias de vip, bom jogo!") end return true end Em creaturescripts.xml cole a tag:
<event type="login" name="vipdays" event="script" value="NOMEDOSEUARQUIVO.lua"/> Créditos Script: Vodkart
-
jpxtnem deu reputação a Sociopata em [Pedido] Script Fly para Premiumaoaga o q tem la na parte de fly e add esse
elseif skill == "fly" then local pokemon = flys[getPokemonName(getCreatureSummons(cid)[1])] doPlayerSendTextMessage(cid, 27, "Type \"up\" or \"h1\" to fly higher and \"down\" or \"h2\" to fly lower.") doChangeSpeed(cid, -getCreatureSpeed(cid)) local speed = 500 + PlayerSpeed/5 + getSpeed(sid) * 6 * speedRate doChangeSpeed(cid, speed) setPlayerStorageValue(cid, 54844, speed) doSetCreatureOutfit(cid, {lookType = pokemon[1] + 351}, -1) doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "hp", getCreatureHealth(getCreatureSummons(cid)[1]) / getCreatureMaxHealth(getCreatureSummons(cid)[1])) doRemoveCreature(getCreatureSummons(cid)[1]) setPlayerStorageValue(cid, 17000, 1) if not isPremium(cid) then doPlayerSendCancel(cid, "Only premium members are allowed to fly.") return true end