BlackTibia

No estás conectado. Conéctate o registrate

 » Open Tibia » Pedido de Scripts » 

Pedido de NPC o Doll

Pedido de NPC o Doll

#1 Pedido de NPC o Doll el Dom Mayo 04, 2014 8:51 am

Kymurax


Miembro
hola ! tengo un problema con mi ot y es que el npc que vende las monturas no tiene todas las monturas completas, alguien podria dejarme un mounts doll o un npc que venda todas las monturas hasta 10.31? porfavor! lo agredeceria mucho doy +RP

#2 Re: Pedido de NPC o Doll el Dom Mayo 04, 2014 12:55 pm

Sunnade Audio


Miembro
[Tienes que estar registrado y conectado para ver este vínculo] escribió:hola ! tengo un problema con mi ot y es que el npc que vende las monturas no tiene todas las monturas completas, alguien podria dejarme un mounts doll o un npc que venda todas las monturas hasta 10.31? porfavor! lo agredeceria mucho doy +RP

lol agregaselas & ya e.e deja te lo paso xd shaleshaleshale!

mountdoll.lua

Código:
function onSay(cid, words, param)

local mounts = {
["widow queen"] = {price = 0, id = 1},
["racing bird"] = {price = 0, id = 2},
["war bear"] = {price = 0, id = 3},
["black sheep"] = {price = 0, id = 4},
["midnight panther"] = {price = 0, id = 5},
["draptor"] = {price = 0, id = 6},
["titanica"] = {price = 0, id = 7},
["tin lizzard"] = {price = 0, id = 8},
["blazebringer"] = {price = 0, id = 9},
["rapid boar"] = {price = 0, id = 10},
["stampor"] = {price = 0, id = 11},
["undead cavebear"] = {price = 0, id = 12},
["donkey"] = {price = 0, id = 13},
["tiger slug"] = {price = 0, id = 14},
["uniwheel"] = {price = 0, id = 15},
["crystal wolf"] = {price = 0, id = 16},
["war horse"] = {price = 0, id = 17},
["kingly deer"] = {price = 0, id = 18},
["tamed panda"] = {price = 0, id = 19},
["dromedary"] = {price = 0, id = 20},
["sandstone scorpion"] = {price = 0, id = 21},
["rented horse"] = {price = 0, id = 22},
["fire war horse"] = {price = 0, id = 23},
["shadow draptor"] = {price = 0, id = 24},
["rented horse"] = {price = 0, id = 25},
["rented horse"] = {price = 0, id = 26},
["ladybug"] = {price = 0, id = 27},
["manta"] = {price = 0, id = 28},
["ironblight"] = {price = 0, id = 29},
["magma crawler"] = {price = 0, id = 30},
["dragonling"] = {price = 0, id = 31},
["gnarlhound"] = {price = 0, id = 32},
["red manta"] = {price = 0, id = 33},
["mechanical bird"] = {price = 0, id = 34},
["water buffalo"] = {price = 0, id = 35},
["armoured scorpion"] = {price = 0, id = 36},
["armoured dragonling"] = {price = 0, id = 37},
["armoured cavebear"] = {price = 0, id = 38},
["the hellgrip"] = {price = 0, id = 39},
["lion"] = {price = 0, id = 40},
["golden lion"] = {price = 0, id = 41},
["shock head"] = {price = 0, id = 42},
["hyaena"] = {price = 0, id = 43},
["tarantula"] = {price = 0, id = 44},
["toad"] = {price = 0, id = 45},
["hand of cursed fate"] = {price = 0, id = 46},
["nightmare"] = {price = 0, id = 47},
["mutated rat"] = {price = 0, id = 48},
["young sea serpent"] = {price = 0, id = 49},
["lancer beetle"] = {price = 0, id = 50},
}

local msg = {"Usted puede elegir un! : widow queen, racing bird, war bear, black sheep, midnight panther, draptor, titanica, tin lizzard, blazebringer, rapid boar, stampor, undead cavebear, uniwheel, war draptor, fire war horse, crystal wolf, panda, white deer, dromedary, sandstone scorpion, donkey, tiger slug, manta, lady bug, ironblight, dragonling, magma crawler, gnarlhound, red manta, mechanical bird, water buffalo, armoured scorpion, armoured dragonling, armoured cavebear, gravedigger, lion e golden lion, shock head, hyaena, tarantula, toad, hand of cursed fate, nightmare, mutated rat, young sea serpent, lancer beetle.", "Usted no tiene Mountdoll..", "Not A Good Param..", "Ya tienes tu mount noob!.","Usted ya tiene este soporte"}
local param = string.lower(param)
local t = mounts[param]

if(getPlayerItemCount(cid, 13030) > 0) then
if(param ~= "" and t) then
if t and not getPlayerMount(cid, t.id) then
doPlayerRemoveItem(cid, 13030, 1)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[4])
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS)
doPlayerAddMount(cid, t.id)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[5])
end
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[1])
end
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[2])
end
end

checa ese es de un 1035 que tengo le puse mount que faltaban xd como a ti:b
este es el mount.xml

Código:
<?xml version="1.0" encoding="UTF-8"?>
<mounts>
   <mount id="1" clientId="368" name="Widow Queen" speed="20" premium="yes" />
   <mount id="2" clientId="369" name="Racing Bird" speed="20" premium="yes" />
   <mount id="3" clientId="370" name="War Bear" speed="20" premium="yes" />
   <mount id="4" clientId="371" name="Black Sheep" speed="20" premium="yes" />
   <mount id="5" clientId="372" name="Midnight Panther" speed="20" premium="yes" />
   <mount id="6" clientId="373" name="Draptor" speed="20" premium="yes" />
   <mount id="7" clientId="374" name="Titanica" speed="20" premium="yes" />
   <mount id="8" clientId="375" name="Tin Lizzard" speed="20" premium="yes" />
   <mount id="9" clientId="376" name="Blazebringer" speed="20" premium="yes" />
   <mount id="10" clientId="377" name="Rapid Boar" speed="20" premium="yes" />
   <mount id="11" clientId="378" name="Stampor" speed="20" premium="yes" />
   <mount id="12" clientId="379" name="Undead Cavebear" speed="20" premium="yes" />
   <mount id="13" clientId="387" name="Donkey" speed="20" premium="yes" />
   <mount id="14" clientId="388" name="Tiger Slug" speed="20" premium="yes" />
   <mount id="15" clientId="389" name="Uniwheel" speed="20" premium="yes" />
   <mount id="16" clientId="390" name="Crystal Wolf" speed="20" premium="yes" />
   <mount id="17" clientId="392" name="War Horse" speed="20" premium="yes" />
   <mount id="18" clientId="401" name="Kingly Deer" speed="20" premium="yes" />
   <mount id="19" clientId="402" name="Tamed Panda" speed="20" premium="yes" />
   <mount id="20" clientId="405" name="Dromedary" speed="20" premium="yes" />
   <mount id="21" clientId="406" name="Sandstone Scorpion" speed="20" premium="yes" />
   <mount id="22" clientId="421" name="Rented Horse" speed="20" premium="yes" />
   <mount id="23" clientId="426" name="Fire War Horse" speed="20" premium="yes" />
   <mount id="24" clientId="427" name="Shadow Draptor" speed="20" premium="yes" />
   <mount id="25" clientId="437" name="Rented Horse" speed="20" premium="yes" />
   <mount id="26" clientId="438" name="Rented Horse" speed="20" premium="yes" />
   <mount id="27" clientId="447" name="Ladybug" speed="20" premium="yes" />
   <mount id="28" clientId="450" name="Manta" speed="20" premium="yes" />
   <mount id="29" clientId="502" name="Ironblight" speed="20" premium="yes" />
   <mount id="30" clientId="503" name="Magma Crawler" speed="20" premium="yes" />
   <mount id="31" clientId="506" name="Dragonling" speed="20" premium="yes" />
   <mount id="32" clientId="515" name="Gnarlhound" speed="20" premium="yes" />
   <mount id="33" clientId="521" name="Red Manta" speed="20" premium="yes" />
   <mount id="34" clientId="522" name="Mechanical Bird" speed="20" premium="yes" />
   <mount id="35" clientId="526" name="Water Buffalo" speed="20" premium="yes" />
   <mount id="36" clientid="546" name="Armoured Scorpion" speed="20" premium="yes" />
   <mount id="37" clientid="547" name="Armoured Dragonling" speed="20" premium="yes" />
   <mount id="38" clientid="548" name="Armoured Cavebear" speed="20" premium="yes" />
   <mount id="39" clientid="559" name="The Hellgrip" speed="20" premium="yes" />
   <mount id="40" clientid="571" name="Lion" speed="20" premium="yes" />
   <mount id="41" clientid="572" name="Golden Lion" speed="20" premium="yes" />
   <mount id="42" clientid="580" name="Shock Head" speed="20" premium="yes" />
    <mount id="43" clientId="94" name="Hyaena" speed="5" premium="yes"/>
   <mount id="44" clientId="219" name="Tarantula" speed="5" premium="yes"/>
   <mount id="45" clientId="222" name="Toad" speed="5" premium="yes"/>
   <mount id="46" clientId="230" name="Hand of cursed fate" speed="5" premium="yes"/>
   <mount id="47" clientId="245" name="Nightmare" speed="5" premium="yes"/>
   <mount id="48" clientId="305" name="Mutated Rat" speed="5" premium="yes"/>
   <mount id="49" clientId="317" name="Young Sea Serpent" speed="5" premium="yes"/>
   <mount id="50" clientId="348" name="Lancer Beetle" speed="5" premium="yes"/> -->
</mounts>

aver si no teda error :s si teda error con ese xml solo agregale las mount ah tu xml y ya lel

#3 Re: Pedido de NPC o Doll el Dom Mayo 04, 2014 1:16 pm

Kymurax


Miembro
ahorita lo checo hermano gracias +rep

#4 Re: Pedido de NPC o Doll Hoy a las 3:52 am

Contenido patrocinado


Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje [Página 1 de 1.]

Permisos de este foro:
No puedes responder a temas en este foro.

 

¿Quién está en línea?

En total hay 0 usuarios en línea: 0 Registrados, 0 Ocultos y 0 Invitado

Usuarios navegando en este foro: Ninguno

Forum Statistics

Nuestros miembros han públicado un total de posts en temas.
Actualmente hay miembros registrados.
Démosle la bienvenida al miembro más reciente,
La mayor cantidad de usuarios en línea ha sido de .