Ir para conteúdo

-Pedido Catch Ajuda


galaverna

Posts Recomendados

porfavor ajuda ai esse script não ta funcionando

function onUse(cid,item2,frompos,itemEx,topos)
{
[2862] = {"Bulbasaur", 80, 40, 10001, 100},
[5982] = {"Ivysaur", 180, 90, 10002, 300},
[6074] = {"Venusaur", 400, 200, 10003, 800},
[6008] = {"Charmander", 80, 40, 10004, 100}, 
[5981] = {"Charmeleon", 180, 90, 10005, 300}, 
[6005] = {"Charizard", 400, 200, 10006, 800}, 
[6070] = {"Squirtle", 80, 40, 10007, 100},
[2861] = {"Wartortle", 180, 90, 10008, 300},
[2995] = {"Blastoise", 400, 200, 10009, 800},
[2860] = {"Caterpie", 20, 10, 10010, 40},
[5970] = {"Metapod", 100, 50, 10011, 200},
[5985] = {"Butterfree", 150, 75, 10012, 250},
[5964] = {"Weedle", 20, 10, 10013, 40},
[6018] = {"Kakuna", 100, 50, 10014, 200},
[5990] = {"Beedrill", 150, 75, 10015, 250},
[5996] = {"Pidgey", 26, 13, 10016, 60},
[5966] = {"Pidgeotto", 126, 63, 10017, 232},
[6076] = {"Pidgeot", 300, 150, 10018, 600}, 
[6084] = {"Rattata", 20, 10, 10019, 40},
[6030] = {"Raticate", 190, 95, 10020, 380},
[21] = {"Spearow", 36, 18, 10021, 72},
[5992] = {"Fearow", 250, 125, 10022, 500},
[23] = {"Ekans", 64, 32, 10023, 128},
[5980] = {"Arbok", 210, 105, 10024, 420},
[6001] = {"Pikachu", 96, 48, 10025, 192},
[6085] = {"Raichu", 250, 125, 10026, 500},
[6031] = {"Sandshrew", 50, 25, 10027, 100},
[6041] = {"Sandslash", 240, 120, 10028, 480}, 
[29] = {"NidoranFE", 32, 16, 10029, 64},
[30] = {"Nidorina", 134, 67, 10030, 268},
[6077] = {"Nidoqueen", 376, 188, 10031, 760},
[32] = {"NidoranMA", 38, 19, 10032, 76},
[33] = {"Nidorino", 140, 70, 10033, 280},
[6061] = {"Nidoking", 380, 190, 10034, 800},
[35] = {"Clefairy", 2, 1, 10035, 4},
[36] = {"Clefable", 2, 1, 10036, 4},
[6039] = {"Vulpix", 2, 1, 10037, 4},
[6040] = {"Ninetales", 2, 1, 10038, 4},
[6011] = {"Jigglypuff", 2, 1, 10039, 4},
[6049] = {"Wigglytuff", 2, 1, 10040, 4},
[6073] = {"Zubat", 2, 1, 10041, 4},
[6053] = {"Golbat", 2, 1, 10042, 4},
[6010] = {"Oddish", 2, 1, 10043, 4},
[6014] = {"Gloom", 2, 1, 10044, 4},
[6025] = {"Vileplume", 2, 1, 10045, 4},
[3007] = {"Paras", 26, 13, 10046, 60},
[6027] = {"Parasect", 230, 115, 10047, 550},
[48] = {"Venonat", 2, 1, 10048, 4},
[1492] = {"Venomoth", 2, 1, 10049, 4},
[6023] = {"Diglett", 2, 1, 10050, 4},
[6024] = {"Dugtrio", 2, 1, 10051, 4},
[6034] = {"Meowth", 2, 1, 10052, 4},
[53] = {"Persian", 2, 1, 10053, 4},
[6062] = {"Psyduck", 2, 1, 10054, 4},
[6059] = {"Golduck", 2, 1, 10055, 4},
[6035] = {"Mankey", 2, 1, 10056, 4},
[6029] = {"Primeape", 2, 1, 10057, 4},
[6036] = {"Growlithe", 2, 1, 10058, 4},
[3034] = {"Arcanine", 2, 1, 10059, 4},
[6042] = {"Poliwag", 2, 1, 10060, 4},
[6054] = {"Poliwhirl", 2, 1, 10061, 4},
[6033] = {"Poliwrath", 2, 1, 10062, 4},
[7338] = {"Abra", 2, 1, 10063, 4},
[6060] = {"Kadabra", 2, 1, 10064, 4},
[6057] = {"Alakazam", 2, 1, 10065, 4},
[6045] = {"Machop", 2, 1, 10066, 4},
[4251] = {"Machoke", 2, 1, 10067, 4},
[6021] = {"Machamp", 2, 1, 10068, 4},
[6012] = {"Bellsprout", 2, 1, 10069, 4},
[70] = {"Weepinbell", 2, 1, 10070, 4},
[6332] = {"Victreebel", 2, 1, 10071, 4},
[6082] = {"Tentacool", 2, 1, 10072, 4},
[6037] = {"Tentacruel", 2, 1, 10073, 4},
[6013] = {"Geodude", 2, 1, 10074, 4},
[6015] = {"Graveler", 2, 1, 10075, 4},
[6043] = {"Golem", 2, 1, 10076, 4},
[5975] = {"Ponyta", 2, 1, 10077, 4},
[4323] = {"Rapidash", 2, 1, 10078, 4},
[79] = {"Slowpoke", 2, 1, 10079, 4},
[80] = {"Slowbro", 2, 1, 10080, 4},
[6056] = {"Magnemite", 2, 1, 10081, 4},
[6020] = {"Magneton", 2, 1, 10082, 4},
[6022] = {"Farfetch'D", 2, 1, 10083, 4},
[84] = {"Doduo", 2, 1, 10084, 4},
[85] = {"Dodrio", 2, 1, 10085, 4},
[7349] = {"Seel", 2, 1, 10086, 4},
[6038] = {"Dewgong", 2, 1, 10087, 4},
[6055] = {"Grimer", 2, 1, 10088, 4},
[6066] = {"Muk", 2, 1, 100089, 4},
[90] = {"Shellder", 2, 1, 10090, 4},
[6064] = {"Cloyster", 2, 1, 10091, 4},
[5993] = {"Gastly", 2, 1, 10092, 4},
[6009] = {"Haunter", 2, 1, 10093, 4},
[6016] = {"Gengar", 2, 1, 10094, 4},
[95] = {"Onix", 2, 1, 10095, 4},
[6017] = {"Drowzee", 2, 1, 10096, 4},
[6046] = {"Hypno", 2, 1, 10097, 4},
[98] = {"Krabby", 2, 1, 10098, 4},
[99] = {"Kingler", 2, 1, 10099, 4},
[6072] = {"Voltorb", 2, 1, 10100, 4},
[6051] = {"Electrode", 2, 1, 10101, 4},
[102] = {"Exeggcute", 2, 1, 10102, 4},
[6065] = {"Exeggutor", 2, 1, 10103, 4},
[6050] = {"Cubone", 2, 1, 10104, 4},
[6028] = {"Marowak", 2, 1, 10105, 4},
[6067] = {"Hitmonlee", 2, 1, 10106, 4},
[5962] = {"Hitmonchan", 2, 1, 10107, 4},
[108] = {"Lickitung", 2, 1, 10108, 4},
[6020] = {"Koffing", 2, 1, 10109, 4},
[110] = {"Weezing", 2, 1, 10110, 4},
[6063] = {"Rhyhorn", 2, 1, 10111, 4},
[112] = {"Rhydon", 2, 1, 10112, 4},
[113] = {"Chansey", 2, 1, 10113, 4},
[6071] = {"Tangela", 2, 1, 100114, 4},
[6019] = {"Kangaskhan", 2, 1, 10115, 4},
[116] = {"Horsea", 2, 1, 10116, 4},
[117] = {"Seadra", 2, 1, 10117, 4},
[118] = {"Goldeen", 2, 1, 10118, 4},
[119] = {"Seaking", 2, 1, 10119, 4},
[120] = {"Staryu", 2, 1, 10120, 4},
[121] = {"Starmie", 2, 1, 10121, 4},
[122] = {"Mr.Mime", 2, 1, 10122, 4},
[123] = {"Scyther", 2, 1, 10123, 4},
[124] = {"Jynx", 2, 1, 10124, 4},
[125] = {"Electabuzz", 2, 1, 10125, 4},
[126] = {"Magmar", 2, 1, 10126, 4},
[127] = {"Pinsir", 2, 1, 10127, 4},
[128] = {"Tauros", 2, 1, 10128, 4},
[6079] = {"Magikarp", 2, 1, 10129, 4},
[130] = {"Gyarados", 2, 1, 10130, 4},
[131] = {"Lapras", 2, 1, 10131, 4},
[2817] = {"Ditto", 2, 1, 10132, 4},
[133] = {"Eevee", 2, 1, 10133, 4},
[134] = {"Vaporeon", 2, 1, 10134, 4},
[135] = {"Jolteon", 2, 1, 10135, 4},
[136] = {"Flareon", 2, 1, 10136, 4},
[137] = {"Porygon", 2, 1, 10137, 4},
[138] = {"Omanyte", 2, 1, 10138, 4},
[139] = {"Omastar", 2, 1, 10139, 4},
[140] = {"Kabuto", 2, 1, 10140, 4},
[141] = {"Kabutops", 2, 1, 10141, 4},
[142] = {"Aerodactyl", 2, 1, 10142, 4},
[6058] = {"Snorlax", 2, 1, 10143, 4},
[144] = {"Articuno", 2, 1, 10144, 4},
[145] = {"Zapdos", 2, 1, 10145, 4},
[146] = {"Moltres", 2, 1, 10146, 4},
[6081] = {"Dratini", 2, 1, 10147, 4},
[148] = {"Dragonair", 2, 1, 10148, 4},
[6052] = {"Dragonite", 2, 1, 10149, 4},
[3104] = {"Mewtwo", 2, 1, 10150, 4},
[6080] = {"Mew", 2, 1, 10151, 4},
}             

local poke = pokemons[itemEx.itemid]
local chance = math.random(1,poke[5])

function doPlayerCreateItem2377(cid)
ass = doPlayerAddItem(cid, 2377, 1)
doSetItemActionId(ass, poke[4])
end

 

o erro é

 

[30/09/2010 18:26:36] Warning: [Event::loadScript] Can not load script. data/actions/scripts/catch.lua
[30/09/2010 18:26:36] data/actions/scripts/catch.lua:1: unexpected symbol near 'ÿ'

 

porfavor ajuda ai

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...