Stigal 31 #1 Posted January 7, 2013 Ola Tibianos, Venho trazer os Addons Pokemons (*Outifits Dos Pokemons) para todos que estao pedindo a tempos... Eles Sairao Completos e com Sistema Todo Prontos No "Pokemon Centurion [v4] - Cacaiu" Mas estou disponibilisando aki somente as Sprites... • Menu: ├ Script Dos Addon; ├ Download; ├ Scan; └ Creditos. • Script Dos Addon - Creditos RicardoSohnn • Em actions.xml adicione a seguinte tag: [/font] [font=Helvetica Neue]<action itemid="xxxx" event="script" value="addons.lua"/>[/font] [font=Helvetica Neue] Sendo, xxxx o id do item que vai dar o addon. addons.lua [/font] [font=Helvetica Neue]function onUse(cid, item, fromPosition, itemEx, toPosition)[/font] [font=Helvetica Neue] local addons = {[/font] [font=Helvetica Neue] [xxxx] = {pokemon= "Scyther" , looktype = 510}, --xxxx = id do item do addon --- "Scyther" = nome do pokemon --- looktype = 1 é o looktype do pokemon com addon[/font] [font=Helvetica Neue] }[/font] [font=Helvetica Neue] if #getCreatureSummons(cid) > 0 then[/font] [font=Helvetica Neue] doPlayerSendCancel(cid, "Please back your pokemon.")[/font] [font=Helvetica Neue] return false[/font] [font=Helvetica Neue] end [/font] [font=Helvetica Neue] local numero = addons[item.itemid].looktype[/font] [font=Helvetica Neue] local pb = getPlayerSlotItem(cid, 8).uid[/font] [font=Helvetica Neue] local pk = addons[item.itemid].pokemon[/font] [font=Helvetica Neue] if getItemAttribute(pb,"poke") ~= pk then[/font] [font=Helvetica Neue] doPlayerSendCancel(cid, "Sorry, you can't use this addon on this poke.")[/font] [font=Helvetica Neue] return false[/font] [font=Helvetica Neue] end[/font] [font=Helvetica Neue] if getItemAttribute(pb,"addon") < 1 then[/font] [font=Helvetica Neue] doRemoveItem(item.uid, 1)[/font] [font=Helvetica Neue] doPlayerSendTextMessage(cid, 27, "Congratulations! Now your pokemon will use the addon.")[/font] [font=Helvetica Neue] doSetItemAttribute(pb,"addon",numero)[/font] [font=Helvetica Neue] return true[/font] [font=Helvetica Neue] end [/font] [font=Helvetica Neue]return true[/font] [font=Helvetica Neue]end[/font] [font=Helvetica Neue] Na action do goback, no finalzinho antes de [/font] [font=Helvetica Neue]else[/font] [font=Helvetica Neue] doPlayerSendCancel(cid, "This pokemon is fainted.")[/font] [font=Helvetica Neue]end[/font] [font=Helvetica Neue] Coloque: [/font] [font=Helvetica Neue]local pk = getCreatureSummons(cid)[1][/font] [font=Helvetica Neue] local pb = getPlayerSlotItem(cid, 8).uid[/font] [font=Helvetica Neue] local look = getItemAttribute(pb,"addon")[/font] [font=Helvetica Neue] if not look then[/font] [font=Helvetica Neue] doSetItemAttribute(pb,"addon",0)[/font] [font=Helvetica Neue] return false[/font] [font=Helvetica Neue] end[/font] [font=Helvetica Neue] if look > 0 then[/font] [font=Helvetica Neue] doSetCreatureOutfit(pk, {lookType = look}, -1)[/font] [font=Helvetica Neue] return true[/font] [font=Helvetica Neue] end[/font] [font=Helvetica Neue] Agora em data/lib/catch system.lua Depois de: [/font] [font=Helvetica Neue]doItemSetAttribute(item, "description", description)[/font] [font=Helvetica Neue] Coloque: [/font] [font=Helvetica Neue]doItemSetAttribute(item, "addon", 0)[/font] [font=Helvetica Neue] Depois em data/talkactions/scripts/createpokeball.lua depois de: [/font] [font=Helvetica Neue]doItemSetAttribute(item, "description", "Contains a "..name..".")[/font] [font=Helvetica Neue] Coloque: doItemSetAttribute(item, "addon", 0) • Download's • Pokemon Addons (4shared) http://www.4shared.com/rar/xRKlSsAq/Pokemon_Addons_-_Stigal.html? • Scan • Pokemon Addons (Scan) https://www.virustotal.com/file/a1f0559b8a103a518fe7305060e679e929812fd90debb7189cd9fef3a56c60ad/analysis/1347480518/ • Creditos • Cacaiu - 50% {Deu Elas} Stigal - 50% {Arrumou e Deixou todas na versao compativel} 3 FelipeWikky, Fellipealbs and caiobc reacted to this Share this post Link to post
lucioclecio1 0 #2 Posted September 21, 2016 [21/09/2016 09:33:54] [Error - Action Interface] [21/09/2016 09:33:54] data/actions/scripts/goback.lua:onUse [21/09/2016 09:33:54] Description: [21/09/2016 09:33:54] data/actions/scripts/goback.lua:194: attempt to compare number with nil [21/09/2016 09:33:54] stack traceback: [21/09/2016 09:33:54] data/actions/scripts/goback.lua:194: in function <data/actions/scripts/goback.lua:10> [21/09/2016 09:34:40] Lucio has logged out. Eu fiz tudo mais deu isso pq? Share this post Link to post
Kuma Bear 33 #3 Posted September 22, 2016 (edited) isso era de 2013 q porra o lek q bumpo ali me confundiu de qlq jeito stigal burro do krl Edited September 22, 2016 by bolotabunito Share this post Link to post