Pessoal queria fazer dois pedidos que sao:
1º: Queria que vcs me dessem o maior numero de scripts para poketibia se poder (e que funcionem)
2º: quero que vcs arrumen esses script n funfa no meu server 8.10 esse:
function onUse(cid, item, frompos, item2, topos) dofile("./petconfig.lua") function doPlayerAddSummon(cid, name, pos) local MyCreature = doSummonCreature("Green Djinn", pos) doConvinceCreature(cid, MyCreature) return MyCreature end local myPet = "" local myPetUid = 0 if isExhausted(cid) == 1 then return 0 end if getPlayerStorageValue(cid, storages.petMag) == -1 then setPlayerStorageValue(cid, storages.petMag, 0) end if isCreature(getPlayerStorageValue(cid, storages.petUid)) == 0 then if getTilePzInfo(getCreaturePosition(cid)) == 0 then if getPlayerStorageValue(cid, storages.petIsOnline) == 1 or getPlayerStorageValue(cid, storages.petIsOnline) == -1 then for i = 1, #pets do if isInArray(pets[i].vocations, getPlayerVocation(cid)) == 1 then for k = 1, #pets[i].pets do if pets[i].pets[k].level <= getPlayerLevel(cid) then myPet = pets[i].pets[k].name break end end break end end myPetUid = doPlayerAddSummon(cid, myPet, getCreaturePosition(cid)) if myPetUid ~= -1 then setPlayerStorageValue(cid, storages.petUid, myPetUid) if getPlayerStorageValue(cid, storages.petDamage) ~= 0 and getPlayerStorageValue(cid, storages.petDamage) ~= -1 then if getPlayerStorageValue(cid, storages.petDamage) < getCreatureMaxHealth(getPlayerStorageValue(cid, storages.petUid)) then doCreatureAddHealth(getPlayerStorageValue(cid, storages.petUid), getPlayerStorageValue(cid, storages.petDamage)*-1) end end doChangeSpeed(myPetUid, getCreatureBaseSpeed(cid) - getCreatureBaseSpeed(myPetUid)) doCreatureSay(cid, "Go, Snorlax", TALKTYPE_SAY) addMana({cid = cid}) setPlayerStorageValue(cid, storages.petIsOnline, 2) doSendMagicEffect(getCreaturePosition(myPetUid), 37) else doPlayerSendCancel(cid, 'Not enought room.') end else doPlayerSendCancel(cid, 'Your <span class="highlight">pet</span> died! You have to revive it.') end else doPlayerSendCancel(cid, 'You cannot summon your <span class="highlight">pet</span> in PZ.') end else local daPet = getPlayerStorageValue(cid, storages.petUid) setPlayerStorageValue(cid, storages.petDamage, getCreatureMaxHealth(daPet) - getCreatureHealth(daPet)) doCreatureSay(cid, "Back, Snorlax", TALKTYPE_SAY) setPlayerStorageValue(cid, storages.petIsOnline, 1) doSendMagicEffect(getCreaturePosition(daPet), 37) doRemoveCreature(daPet) end return setExhausted(cid) end
tipow ele e do pokemon snorlax no caso ele e o green dijin no tibia ai tipow queria que vcs me falassem pke n funfa no meu server 8.10 ele e o master ots global ele e a base do meu server de poketibia o executor dele e o aries 0.4.0