Ir para conteúdo

Mulizeu

Barão
  • Total de itens

    218
  • Registro em

  • Última visita

  • Dias Ganhos

    4

Tudo que Mulizeu postou

  1. Mulizeu

    Duvida De Funçao

    Quando devo usar essa funçao...e para que serve! isInArray Aguardo resposta!
  2. Tente assim nao sei se ira funfar! function onStepIn(cid,item,pos) if item.actionid == 4105 then queststatus = getPlayerStorageValue(cid,4105) if queststatus == -1 then getPlayerPosition({x=1232,y=662,z=8}) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"Kill the boss Hide!!") doSummonCreature("Hide", {x=1232,y=662,z=8}) doTeleportThing(cid, {x=1239,y=659,z=8}) setPlayerStorageValue(cid,4105,1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"Has nothing.") doTeleportThing(cid, {x=504,y=325,z=7}) end end return TRUE end Rep++
  3. Amigo lugar errado! local pokes = { ["Flareon"] = {chance = 400, corpse = 6059, health = 5300, maxhealth = 5300}, ["Crystal Onix"] = {chance = 5000, corpse = 6320, health = 5300, maxhealth = 5300}, ["Porygon"] = {chance = 900, corpse = 5963, health = 14000, maxhealth = 4000}, ["Ditto"] = {chance = 900, corpse = 2817, health = 14000, maxhealth = 4000}, ["Magikarp"] = {chance = 2, corpse = 2818, health = 120, maxhealth = 120}, ["Eevee"] = {chance = 80, corpse = 6364, health = 1500, maxhealth = 1500}, ["Abra"] = {chance = 90, corpse = 2905, health = 620, maxhealth = 620}, ["Kadabra"] = {chance = 500, corpse = 6060, health = 2500, maxhealth = 2500}, ["Alakazam"] = {chance = 805, corpse = 6057, health = 4000, maxhealth = 4000}, ["Rattata"] = {chance = 3, corpse = 5974, health = 350, maxhealth = 350}, ["Raticate"] = {chance = 300, corpse = 6007, health = 900, maxhealth = 900}, ["Pidgey"] = {chance = 4, corpse = 5961, health = 380, maxhealth = 380}, ["Pidgeotto"] = {chance = 175, corpse = 5966, health = 1400, maxhealth = 1400}, ["Pidgeot"] = {chance = 700, corpse = 6020, health = 3800, maxhealth = 3800}, ["Zubat"] = {chance = 7, corpse = 5989, health = 450, maxhealth = 450}, ["Golbat"] = {chance = 109, corpse = 6053, health = 1900, maxhealth = 1900}, ["Bellsprout"] = {chance = 8, corpse = 2806, health = 420, maxhealth = 420}, ["Weepinbell"] = {chance = 150, corpse = 2928, health = 1100, maxhealth = 1100}, ["Victreebel"] = {chance = 702, corpse = 6332, health = 4000, maxhealth = 4000}, ["Poliwag"] = {chance = 25, corpse = 6042, health = 400, maxhealth = 400}, ["Poliwhirl"] = {chance = 212, corpse = 6054, health = 1200, maxhealth = 1200}, ["Poliwrath"] = {chance = 900, corpse = 6033, health = 4400, maxhealth = 4400}, ["Oddish"] = {chance = 9, corpse = 3008, health = 340, maxhealth = 340}, ["Gloom"] = {chance = 105, corpse = 6017, health = 1400, maxhealth = 1400}, ["Vileplume"] = {chance = 701, corpse = 6025, health = 3300, maxhealth = 3300}, ["Horsea"] = {chance = 15, corpse = 2973, health = 300, maxhealth = 300}, ["Seadra"] = {chance = 800, corpse = 2872, health = 2500, maxhealth = 2500}, ["Grimer"] = {chance = 20, corpse = 6055, health = 600, maxhealth = 600}, ["Weedle"] = {chance = 2, corpse = 5964, health = 325, maxhealth = 325}, ["Kakuna"] = {chance = 105, corpse = 6000, health = 900, maxhealth = 900}, ["Beedrill"] = {chance = 315, corpse = 5990, health = 1900, maxhealth = 1900}, ["Muk"] = {chance = 705, corpse = 2845, health = 2400, maxhealth = 2400}, ["Doduo"] = {chance = 250, corpse = 2842, health = 600, maxhealth = 600}, ["Dodrio"] = {chance = 600, corpse = 6047, health = 2650, maxhealth = 2650}, ["Magnemite"] = {chance = 64, corpse = 6056, health = 450, maxhealth = 450}, ["Magneton"] = {chance = 300, corpse = 6076, health = 1750, maxhealth = 1750}, ["Voltorb"] = {chance = 125, corpse = 6049, health = 620, maxhealth = 620}, ["Electrode"] = {chance = 575, corpse = 6051, health = 2000, maxhealth = 2000}, ["Geodude"] = {chance = 22, corpse = 6071, health = 700, maxhealth = 700}, ["Graveler"] = {chance = 412, corpse = 6516, health = 3000, maxhealth = 3000}, ["Golem"] = {chance = 900, corpse = 6043, health = 6500, maxhealth = 6500}, ["Sandshrew"] = {chance = 75, corpse = 5988, health = 700, maxhealth = 700}, ["Sandslash"] = {chance = 475, corpse = 6041, health = 3400, maxhealth = 3400}, ["Charmander"] = {chance = 275, corpse = 5983, health = 970, maxhealth = 970}, ["Charmeleon"] = {chance = 645, corpse = 5981, health = 2900, maxhealth = 2900}, ["Charizard"] = {chance = 987, corpse = 6005, health = 5200, maxhealth = 5200}, ["Vulpix"] = {chance = 120, corpse = 6003, health = 680, maxhealth = 680}, ["Ninetales"] = {chance = 780, corpse = 6040, health = 2650, maxhealth = 2650}, ["Bulbasaur"] = {chance = 275, corpse = 5969, health = 1200, maxhealth = 1200}, ["Ivysaur"] = {chance = 645, corpse = 5982, health = 2600, maxhealth = 2600}, ["Venusaur"] = {chance = 987, corpse = 5962, health = 5200, maxhealth = 5200}, ["Squirtle"] = {chance = 275, corpse = 6008, health = 1350, maxhealth = 1350}, ["Wartortle"] = {chance = 645, corpse = 5978, health = 2800, maxhealth = 2800}, ["Blastoise"] = {chance = 982, corpse = 5999, health = 5900, maxhealth = 5900}, ["Growlithe"] = {chance = 150, corpse = 6036, health = 1000, maxhealth = 1000}, ["Arcanine"] = {chance = 750, corpse = 6031, health = 6800, maxhealth = 6800}, ["Psyduck"] = {chance = 210, corpse = 6029, health = 950, maxhealth = 950}, ["Golduck"] = {chance = 900, corpse = 6028, health = 4000, maxhealth = 4000}, ["Pikachu"] = {chance = 300, corpse = 6001, health = 900, maxhealth = 900}, ["Raichu"] = {chance = 999, corpse = 5996, health = 3500, maxhealth = 3500}, ["Ekans"] = {chance = 350, corpse = 5979, health = 600, maxhealth = 600}, ["Arbok"] = {chance = 912, corpse = 5984, health = 2900, maxhealth = 2900}, ["Cubone"] = {chance = 405, corpse = 6050, health = 1200, maxhealth = 1200}, ["Marowak"] = {chance = 925, corpse = 6072, health = 3900, maxhealth = 3900}, ["Caterpie"] = {chance = 2, corpse = 5971, health = 300, maxhealth = 300}, ["Metapod"] = {chance = 201, corpse = 5970, health = 1100, maxhealth = 1100}, ["Butterfree"] = {chance = 905, corpse = 5985, health = 2000, maxhealth = 2000}, ["Goldeen"] = {chance = 35, corpse = 2970, health = 950, maxhealth = 950}, ["Seaking"] = {chance = 775, corpse = 3038, health = 2000, maxhealth = 2000}, ["Spearow"] = {chance = 8, corpse = 5968, health = 200, maxhealth = 200}, ["Fearow"] = {chance = 650, corpse = 5992, health = 3300, maxhealth = 3300}, ["Drowzee"] = {chance = 435, corpse = 6026, health = 1150, maxhealth = 1150}, ["Hypno"] = {chance = 900, corpse = 6046, health = 4600, maxhealth = 4600}, ["Diglett"] = {chance = 400, corpse = 6023, health = 900, maxhealth = 900}, ["Dugtrio"] = {chance = 900, corpse = 6024, health = 3450, maxhealth = 3450}, ["Krabby"] = {chance = 46, corpse = 6039, health = 850, maxhealth = 850}, ["Kingler"] = {chance = 300, corpse = 6340, health = 3250, maxhealth = 3250}, ["Paras"] = {chance = 45, corpse = 3007, health = 850, maxhealth = 850}, ["Parasect"] = {chance = 601, corpse = 6027, health = 3800, maxhealth = 3800}, ["Dratini"] = {chance = 703, corpse = 2879, health = 520, maxhealth = 520}, ["Dragonair"] = {chance = 945, corpse = 6002, health = 3000, maxhealth = 3000}, ["Dragonite"] = {chance = 1200, corpse = 4295, health = 17000, maxhealth = 17000}, ["Ponyta"] = {chance = 275, corpse = 5975, health = 1400, maxhealth = 1400}, ["Rapidash"] = {chance = 902, corpse = 4323, health = 5500, maxhealth = 5500}, ["Pinsir"] = {chance = 200, corpse = 7282, health = 55, maxhealth = 55}, ["Seel"] = {chance = 550, corpse = 6030, health = 1000, maxhealth = 1000}, ["Dewgong"] = {chance = 990, corpse = 6038, health = 5200, maxhealth = 5200}, ["Exeggcute"] = {chance = 300, corpse = 2982, health = 800, maxhealth = 800}, ["Exeggutor"] = {chance = 775, corpse = 3005, health = 450, maxhealth = 4000}, ["Koffing"] = {chance = 402, corpse = 2936, health = 900, maxhealth = 900}, ["Weezing"] = {chance = 805, corpse = 6306, health = 2800, maxhealth = 2800}, ["Staryu"] = {chance = 355, corpse = 5987, health = 1050, maxhealth = 1050}, ["Starmie"] = {chance = 900, corpse = 7320, health = 3800, maxhealth = 3800}, ["Rhyhorn"] = {chance = 607, corpse = 3035, health = 3800, maxhealth = 3800}, ["Rhydon"] = {chance = 1000, corpse = 2858, health = 7000, maxhealth = 7000}, ["Shellder"] = {chance = 505, corpse = 2837, health = 800, maxhealth = 800}, ["Snorlax"] = {chance = 1025, corpse = 6016, health = 9000, maxhealth = 9000}, ["Gyarados"] = {chance = 1000, corpse = 6331, health = 7800, maxhealth = 7800}, ["Machop"] = {chance = 95, corpse = 6045, health = 1100, maxhealth = 1100}, ["Machoke"] = {chance = 505, corpse = 4251, health = 2850, maxhealth = 3500}, ["Machamp"] = {chance = 990, corpse = 6048, health = 6100, maxhealth = 7500}, ["Clefairy"] = {chance = 475, corpse = 2968, health = 600, maxhealth = 600}, ["Clefable"] = {chance = 950, corpse = 6006, health = 2400, maxhealth = 2400}, ["Jigglypuff"] = {chance = 475, corpse = 6011, health = 550, maxhealth = 550}, ["Wigglytuff"] = {chance = 950, corpse = 6012, health = 2900, maxhealth = 2900}, ["Venonat"] = {chance = 92, corpse = 5997, health = 1350, maxhealth = 1350}, ["Venomoth"] = {chance = 400, corpse = 2925, health = 3850, maxhealth = 3850}, ["Meowth"] = {chance = 90, corpse = 6034, health = 950, maxhealth = 950}, ["Persian"] = {chance = 700, corpse = 6009, health = 2250, maxhealth = 2250}, ["Mankey"] = {chance = 95, corpse = 6035, health = 1050, maxhealth = 1050}, ["Primeape"] = {chance = 725, corpse = 6032, health = 4500, maxhealth = 4500}, ["Tentacool"] = {chance = 35, corpse = 2961, health = 1050, maxhealth = 1050}, ["Tentacruel"] = {chance = 650, corpse = 6037, health = 7050, maxhealth = 7050}, ["Slowpoke"] = {chance = 325, corpse = 2926, health = 1200, maxhealth = 1200}, ["Slowbro"] = {chance = 712, corpse = 5986, health = 4600, maxhealth = 4600}, ["Cloyster"] = {chance = 985, corpse = 2932, health = 120, maxhealth = 5000}, ["Gastly"] = {chance = 105, corpse = 5993, health = 1000, maxhealth = 1000}, ["Haunter"] = {chance = 705, corpse = 6004, health = 3000, maxhealth = 3000}, ["Gengar"] = {chance = 1075, corpse = 6336, health = 7000, maxhealth = 7000}, ["Onix"] = {chance = 1000, corpse = 2990, health = 5300, maxhealth = 5300}, ["Hitmonlee"] = {chance = 1075, corpse = 6067, health = 9250, maxhealth = 9250}, ["Hitmonchan"] = {chance = 1075, corpse = 5977, health = 10500, maxhealth = 10500}, ["Lickitung"] = {chance = 875, corpse = 2953, health = 4800, maxhealth = 4800}, ["Chansey"] = {chance = 1000, corpse = 6010, health = 7500, maxhealth = 7500}, ["Tangela"] = {chance = 700, corpse = 5976, health = 3500, maxhealth = 3500}, ["Kangaskhan"] = {chance = 1000, corpse = 6073, health = 7000, maxhealth = 7000}, ["Scyther"] = {chance = 1275, corpse = 3002, health = 6500, maxhealth = 6500}, ["Electabuzz"] = {chance = 1275, corpse = 6065, health = 6800, maxhealth = 6800}, ["Magmar"] = {chance = 1275, corpse = 7283, health = 7200, maxhealth = 7200}, ["Jynx"] = {chance = 900, corpse = 5765, health = 7000, maxhealth = 7000}, ["Nidoran Male"] = {chance = 50, corpse = 6015, health = 650, maxhealth = 650}, ["Nidoran Female"] = {chance = 50, corpse = 6013, health = 600, maxhealth = 600}, ["Nidoking"] = {chance = 1000, corpse = 5995, health = 4800, maxhealth = 4800}, ["Nidoqueen"] = {chance = 1000, corpse = 3004, health = 4200, maxhealth = 4200}, ["Nidorina"] = {chance = 700, corpse = 6014, health = 2000, maxhealth = 2000}, ["Nidorino"] = {chance = 700, corpse = 6019, health = 2500, maxhealth = 2500}, ["Farfetchd"] = {chance = 805, corpse = 2836, health = 2500, maxhealth = 2500}, ["MrMime"] = {chance = 807, corpse = 6069, health = 5500, maxhealth = 5500}, ["Tauros"] = {chance = 215, corpse = 6302, health = 4200, maxhealth = 4200}, ["Lapras"] = {chance = 975, corpse = 6018, health = 8000, maxhealth = 8000}, ["Omanyte"] = {chance = 811, corpse = 5998, health = 1300, maxhealth = 1300}, ["Omastar"] = {chance = 1325, corpse = 5994, health = 6000, maxhealth = 6000}, ["Kabuto"] = {chance = 811, corpse = 5972, health = 1375, maxhealth = 1375}, ["Kabutops"] = {chance = 1325, corpse = 6345, health = 6920, maxhealth = 6920}, ["Aerodactyl"] = {chance = 1555, corpse = 6338, health = 7100, maxhealth = 7100}, ["Articuno"] = {chance = 5000, corpse = 7256, health = 12000, maxhealth = 12000}, ["Zapdos"] = {chance = 5000, corpse = 6074, health = 11000, maxhealth = 11000}, ["Moltres"] = {chance = 5000, corpse = 7330, health = 11000, maxhealth = 11000}, ["Mewtwo"] = {chance = 10000, corpse = 5973, health = 8500, maxhealth = 8500}, ["Mew"] = {chance = 10000, corpse = 2939, health = 7200, maxhealth = 7200}, ------------------------Shiny----------------------- ["Elder Charizard"] = {chance = 1500, corpse = 2954, health = 7200, maxhealth = 7200}, ["Shiny Magikarp"] = {chance = 35, corpse = 105, health = 920, maxhealth = 920}, ["Shiny Rattata"] = {chance = 300, corpse = 110, health = 900, maxhealth = 900}, ["Shiny Paras"] = {chance = 400, corpse = 116, health = 1400, maxhealth = 1400}, ["Shiny Oddish"] = {chance = 250, corpse = 115, health = 990, maxhealth = 990}, ["Shiny Zubat"] = {chance = 290, corpse = 114, health = 1200, maxhealth = 1600}, ["Shiny Tentacool"] = {chance = 500, corpse = 122, health = 0, maxhealth = 0}, ["Shiny Tentacruel"] = {chance = 1500, corpse = 128, health = 0, maxhealth = 0}, ["Shiny Raticate"] = {chance = 900, corpse = 136, health = 0, maxhealth = 0}, ["Shiny Krabby"] = {chance = 500, corpse = 126, health = 0, maxhealth = 0}, ["Shiny Kingler"] = {chance = 1500, corpse = 138, health = 0, maxhealth = 0}, ["Shiny Horsea"] = {chance = 500, corpse = 139, health = 0, maxhealth = 0}, ["Shiny Seadra"] = {chance = 1500, corpse = 131, health = 0, maxhealth = 0}, ["Shiny Gyarados"] = {chance = 2000, corpse = 144, health = 18000, maxhealth = 18000}, ["Shiny Parasect"] = {chance = 600, corpse = 127, health = 0, maxhealth = 0}, ["Shiny Scyther"] = {chance = 2000, corpse = 142, health = 0, maxhealth = 0}, ["Shiny Electabuzz"] = {chance = 2000, corpse = 143, health = 0, maxhealth = 0}, ["Shiny Jynx"] = {chance = 2000, corpse = 129, health = 0, maxhealth = 0}, ["Shiny Electrode"] = {chance = 1000, corpse = 124, health = 0, maxhealth = 0}, ["Shiny Voltorb"] = {chance = 500, corpse = 125, health = 0, maxhealth = 0}, ["Shiny Raichu"] = {chance = 900, corpse = 140, health = 0, maxhealth = 0}, ["Shiny Venonat"] = {chance = 800, corpse = 130, health = 0, maxhealth = 0}, ["Shiny Venomoth"] = {chance = 900, corpse = 132, health = 0, maxhealth = 0}, ["Shiny Beedril"] = {chance = 900, corpse = 137, health = 0, maxhealth = 0}, ["Shiny Butterfree"] = {chance = 900, corpse = 133, health = 0, maxhealth = 0}, ["Shiny Venusaur"] = {chance = 1500, corpse = 135, health = 10200, maxhealth = 10200}, ["Shiny Blastoise"] = {chance = 1500, corpse = 134, health = 0, maxhealth = 0}, ["Shiny Farfetchd"] = {chance = 1500, corpse = 119, health = 0, maxhealth = 0}, ["Shiny Grimer"] = {chance = 400, corpse = 123, health = 0, maxhealth = 0}, ["Shiny Muk"] = {chance = 1500, corpse = 121, health = 0, maxhealth = 0}, ["Shiny Growlithe"] = {chance = 600, corpse = 117, health = 0, maxhealth = 0}, ["Shiny Arcanine"] = {chance = 1300, corpse = 120, health = 0, maxhealth = 17000}, ["Shiny Dratini"] = {chance = 1100, corpse = 118, health = 0, maxhealth = 0}, ["Shiny Abra"] = {chance = 1000, corpse = 141, health = 0, maxhealth = 3620}, -----------------------------------Johto------------------------------ ["Aipom"] = {chance = 500, corpse = 11391, health = 3000, maxhealth = 3000}, ["Ampharos"] = {chance = 500, corpse = 11393, health = 3000, maxhealth = 3000}, ["Ariados"] = {chance = 500, corpse = 11394, health = 3000, maxhealth = 3000}, ["Azumarill"] = {chance = 500, corpse = 11395, health = 3000, maxhealth = 3000}, ["Bayleef"] = {chance = 500, corpse = 11396, health = 3000, maxhealth = 3000}, ["Bellossom"] = {chance = 500, corpse = 11397, health = 3000, maxhealth = 3000}, ["Blissey"] = {chance = 500, corpse = 11398, health = 3000, maxhealth = 3000}, ["Celebi"] = {chance = 500, corpse = 11399, health = 3000, maxhealth = 3000}, ["Chikorita"] = {chance = 500, corpse = 11400, health = 3000, maxhealth = 3000}, ["Chinchou"] = {chance = 500, corpse = 11401, health = 3000, maxhealth = 3000}, ["Cleffa"] = {chance = 500, corpse = 11402, health = 3000, maxhealth = 3000}, ["Corsola"] = {chance = 500, corpse = 11403, health = 3000, maxhealth = 3000}, ["Crobat"] = {chance = 500, corpse = 11404, health = 5500, maxhealth = 5500}, ["Croconaw"] = {chance = 500, corpse = 11405, health = 3000, maxhealth = 3000}, ["Cyndaquil"] = {chance = 500, corpse = 11406, health = 3000, maxhealth = 3000}, ["Delibird"] = {chance = 500, corpse = 11407, health = 3000, maxhealth = 3000}, ["Donphan"] = {chance = 500, corpse = 11408, health = 3000, maxhealth = 3000}, ["Dunsparce"] = {chance = 500, corpse = 11409, health = 3000, maxhealth = 3000}, ["Elekid"] = {chance = 500, corpse = 11410, health = 3000, maxhealth = 3000}, ["Entei"] = {chance = 500, corpse = 11411, health = 3000, maxhealth = 3000}, ["Espeon"] = {chance = 500, corpse = 11412, health = 3000, maxhealth = 3000}, ["Feraligatr"] = {chance = 500, corpse = 11413, health = 3000, maxhealth = 3000}, ["Flaaffy"] = {chance = 500, corpse = 11414, health = 3000, maxhealth = 3000}, ["Forretress"] = {chance = 500, corpse = 11415, health = 3000, maxhealth = 3000}, ["Furret"] = {chance = 500, corpse = 11416, health = 3000, maxhealth = 3000}, ["Gallade"] = {chance = 500, corpse = 11630, health = 3000, maxhealth = 3000}, ["Girafarig"] = {chance = 500, corpse = 11417, health = 3000, maxhealth = 3000}, ["Gligar"] = {chance = 500, corpse = 11418, health = 3000, maxhealth = 3000}, ["Granbull"] = {chance = 500, corpse = 11419, health = 3000, maxhealth = 3000}, ["Heracross"] = {chance = 500, corpse = 11420, health = 3000, maxhealth = 3000}, ["Hitmontop"] = {chance = 500, corpse = 11421, health = 3000, maxhealth = 3000}, ["Ho oh"] = {chance = 500, corpse = 11422, health = 3000, maxhealth = 3000}, ["Hoothoot"] = {chance = 500, corpse = 11423, health = 3000, maxhealth = 3000}, ["Hoppip"] = {chance = 500, corpse = 11424, health = 3000, maxhealth = 3000}, ["Houndoom"] = {chance = 500, corpse = 11425, health = 3000, maxhealth = 3000}, ["Houndor"] = {chance = 500, corpse = 11426, health = 3000, maxhealth = 3000}, ["Igglybuff"] = {chance = 500, corpse = 11427, health = 3000, maxhealth = 3000}, ["Jumpluff"] = {chance = 500, corpse = 11428, health = 3000, maxhealth = 3000}, ["Kingdra"] = {chance = 500, corpse = 11429, health = 3000, maxhealth = 3000}, ["Lanturn"] = {chance = 500, corpse = 11430, health = 3000, maxhealth = 3000}, ["Larvitar"] = {chance = 500, corpse = 11431, health = 3000, maxhealth = 3000}, ["Ledian"] = {chance = 500, corpse = 11432, health = 3000, maxhealth = 3000}, ["Ledyba"] = {chance = 500, corpse = 11433, health = 3000, maxhealth = 3000}, ["Lugia"] = {chance = 500, corpse = 11434, health = 3000, maxhealth = 3000}, ["Magby"] = {chance = 500, corpse = 11435, health = 3000, maxhealth = 3000}, ["Magcarbo"] = {chance = 500, corpse = 11436, health = 3000, maxhealth = 3000}, ["Mantine"] = {chance = 500, corpse = 11437, health = 3000, maxhealth = 3000}, ["Mareep"] = {chance = 500, corpse = 11438, health = 3000, maxhealth = 3000}, ["Marill"] = {chance = 500, corpse = 11439, health = 3000, maxhealth = 3000}, ["Meganium"] = {chance = 500, corpse = 11440, health = 3000, maxhealth = 3000}, ["Miltank"] = {chance = 500, corpse = 11441, health = 3000, maxhealth = 3000}, ["Misdreavus"] = {chance = 500, corpse = 11442, health = 3000, maxhealth = 3000}, ["Murkrow"] = {chance = 500, corpse = 11443, health = 3000, maxhealth = 3000}, ["Natu"] = {chance = 500, corpse = 11444, health = 3000, maxhealth = 3000}, ["Noctowl"] = {chance = 500, corpse = 11445, health = 3000, maxhealth = 3000}, ["Octillery"] = {chance = 500, corpse = 11446, health = 3000, maxhealth = 3000}, ["Phanpy"] = {chance = 500, corpse = 11447, health = 3000, maxhealth = 3000}, ["Pichu"] = {chance = 500, corpse = 11448, health = 3000, maxhealth = 3000}, ["Piloswine"] = {chance = 500, corpse = 11449, health = 3000, maxhealth = 3000}, ["Pineco"] = {chance = 500, corpse = 11450, health = 3000, maxhealth = 3000}, ["Politoed"] = {chance = 500, corpse = 11451, health = 3000, maxhealth = 3000}, ["Porygon2"] = {chance = 500, corpse = 11452, health = 3000, maxhealth = 3000}, ["Pupitar"] = {chance = 500, corpse = 11453, health = 3000, maxhealth = 3000}, ["Quaqsire"] = {chance = 500, corpse = 11454, health = 3000, maxhealth = 3000}, ["Quilava"] = {chance = 500, corpse = 11455, health = 3000, maxhealth = 3000}, ["Qwilfish"] = {chance = 500, corpse = 11456, health = 3000, maxhealth = 3000}, ["Raikou"] = {chance = 500, corpse = 11457, health = 3000, maxhealth = 3000}, ["Remoraid"] = {chance = 500, corpse = 11458, health = 3000, maxhealth = 3000}, ["Scizor"] = {chance = 500, corpse = 11459, health = 3000, maxhealth = 3000}, ["Shuckle"] = {chance = 500, corpse = 11460, health = 3000, maxhealth = 3000}, ["Skarmory"] = {chance = 500, corpse = 11462, health = 3000, maxhealth = 3000}, ["Skiploom"] = {chance = 500, corpse = 11463, health = 3000, maxhealth = 3000}, ["Slowking"] = {chance = 500, corpse = 11464, health = 3000, maxhealth = 3000}, ["Slugma"] = {chance = 500, corpse = 11465, health = 3000, maxhealth = 3000}, ["Smeargle"] = {chance = 500, corpse = 11466, health = 3000, maxhealth = 3000}, ["Smoochum"] = {chance = 500, corpse = 11467, health = 3000, maxhealth = 3000}, ["Sneasel"] = {chance = 500, corpse = 11468, health = 3000, maxhealth = 3000}, ["Sentret"] = {chance = 500, corpse = 11461, health = 3000, maxhealth = 3000}, ["Snubbull"] = {chance = 500, corpse = 11469, health = 3000, maxhealth = 3000}, ["Spinarak"] = {chance = 500, corpse = 11470, health = 3000, maxhealth = 3000}, ["Stantler"] = {chance = 500, corpse = 11471, health = 3000, maxhealth = 3000}, ["Steelix"] = {chance = 500, corpse = 11472, health = 3000, maxhealth = 3000}, ["Sudowoodo"] = {chance = 500, corpse = 11473, health = 3000, maxhealth = 3000}, ["Suicune"] = {chance = 500, corpse = 11474, health = 3000, maxhealth = 3000}, ["Sunflora"] = {chance = 500, corpse = 11475, health = 3000, maxhealth = 3000}, ["Sunkern"] = {chance = 500, corpse = 11476, health = 3000, maxhealth = 3000}, ["Swinub"] = {chance = 500, corpse = 11477, health = 3000, maxhealth = 3000}, ["Teddiursa"] = {chance = 500, corpse = 11478, health = 3000, maxhealth = 3000}, ["Togepi"] = {chance = 500, corpse = 11479, health = 3000, maxhealth = 3000}, ["Togetic"] = {chance = 500, corpse = 11480, health = 3000, maxhealth = 3000}, ["Totodile"] = {chance = 500, corpse = 11481, health = 3000, maxhealth = 3000}, ["Typhlosion"] = {chance = 500, corpse = 11482, health = 3000, maxhealth = 3000}, ["Tyranitar"] = {chance = 500, corpse = 11483, health = 3000, maxhealth = 3000}, ["Tyrogue"] = {chance = 500, corpse = 11484, health = 3000, maxhealth = 3000}, ["Wooper"] = {chance = 500, corpse = 11514, health = 3000, maxhealth = 3000}, ["Xatu"] = {chance = 500, corpse = 11515, health = 3000, maxhealth = 3000}, ["Yanma"] = {chance = 500, corpse = 11516, health = 3000, maxhealth = 3000}, ["Giratina"] = {chance = 1, corpse = 11633, health = 15000, maxhealth = 15000}, ["Palkia"] = {chance = 1, corpse = 11635, health = 15000, maxhealth = 15000}, ["Rayquaza"] = {chance = 1, corpse = 11637, health = 15000, maxhealth = 15000}, ["Primal Dialga"] = {chance = 1, corpse = 11638, health = 15000, maxhealth = 15000}, ["Dialga"] = {chance = 1, corpse = 11640, health = 15000, maxhealth = 15000}, } local description = "Contains a %pokename." function onUse(cid, item, frompos, item2, topos) local name = getItemNameById(item2.itemid) if item.itemid == 2147 then -- POKEBALL catchrate = 1 oncatch = 24 onfail = 23 bolabola = 2222 elseif item.itemid == 2642 then -- GREATBALL catchrate = 2 oncatch = 198 onfail = 197 bolabola = 2651 elseif item.itemid == 2645 then -- SUPERBALL catchrate = 3 oncatch = 202 onfail = 201 bolabola = 2653 elseif item.itemid == 2146 then -- ULTRABALL catchrate = 4 oncatch = 200 onfail = 199 bolabola = 2220 elseif item.itemid == 0 then -- MEGABALL catchrate = 5 oncatch = 0 onfail = 0 bolabola = 0 elseif item.itemid == 2644 then -- EXBALL(Saffari) catchrate = 6 oncatch = 204 onfail = 203 bolabola = 2655 end local rate = (catchrate) local catch = oncatch local fail = onfail local newid = bolabola for i,x in pairs(pokes) do if getItemNameById(item2.itemid):find(i:lower()) then if getItemIdByName(name) == pokes[i].corpse then if cid ~= getItemAttribute(item2.uid, "corpseowner") and isInArray({1,8}, getPlayerGroupId(cid)) then doPlayerSendCancel(cid, "Sorry Not Possible!") return true end doRemoveItem(item.uid, 1) doRemoveItem(item2.uid, 1) local pegar = math.random(1, x.chance) if pegar <= 1*(rate) then doSendMagicEffect(topos, catch) local nas = { ["%%pokename"] = i } for i,x in pairs(nas) do if description:find(i) then description = description:gsub(i, x) end end local function capturou(params) if not isCreature(params.cid) then return true end if not string.find(getPlayerStorageValue(cid, 54842), ""..i..",") then doPlayerAddSoul(cid, 1) setPlayerStorageValue(cid, 54842, getPlayerStorageValue(cid, 54842)..""..i..", ") end if getPlayerFreeCap(cid) <= 0.99 then item = doCreateItemEx(newid-1) doItemSetAttribute(item, "poke", params.poke) doItemSetAttribute(item, "nome", params.nome) doItemSetAttribute(item, "description", params.description) doPlayerSendMailByName(getCreatureName(params.cid), item, 1) doPlayerSendTextMessage(cid, 27, "Parabens!!Você capturou um "..i.."!") doPlayerSendTextMessage(cid, 27, "Você ja possui 6 pokemons em sua Bag.Este pokemon sera teletransportado para o centro pokemon.") else item = doCreateItemEx(params.ball) doItemSetAttribute(item, "poke", params.poke) doItemSetAttribute(item, "nome", params.nome) doItemSetAttribute(item, "description", params.description) doPlayerAddItemEx(params.cid, item, true) doTransformItem(item, newid) doPlayerSendTextMessage(cid, 27, "Parabens!!Você capturou um "..i.."!") end if #getCreatureSummons(cid) >= 1 then doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 178) else doSendMagicEffect(getThingPos(cid), 178) end end local description = "Contains a "..i.."." local poke1 = "This is "..i.."'s pokeball. HP = ["..x.health.."/"..x.maxhealth.."]" addEvent(capturou, 4000, {cid = cid, poke = poke1, nome = i, description = description, ball = 2219, letter = 2597}) else function ruim(params) if not isCreature(params.cid) then return true end doPlayerSendTextMessage(params.cid, 27, "Desculpe,Você não capturou este pokemon.") if #getCreatureSummons(params.cid) >= 1 then doSendMagicEffect(getThingPos(getCreatureSummons(params.cid)[1]), 166) else doSendMagicEffect(getThingPos(params.cid), 166) end end addEvent(ruim, 4000, {cid = cid}) doSendMagicEffect(topos, fail) end end end end return TRUE end e tbm verifica se no monster.xml tem elder charizard..e crystal onix testa ae! Rep++
  4. Nao sei se ja tem mais irei postar msm assim! ---------By Mulizeu---------- function onSay(cid, item, words, item2, param) local din = x --dinheiro local price = x2 --quantidade if doPlayerRemoveItem(cid,din,price) == true then doPlayerAddItem(cid,x3,1) --x3 item que ganhara elseif getPlayerItemCount(cid,din) < x4 == true then -- se n tiver x grana parece msg doPlayerSendTextMessage(cid,22, 'Msg aki' ) -- msg caso n tenha grana end end Se foi util Rep++
  5. Olha eu n sei explicar mto bem....mais se possivel pessa para um desses aki Demonbholder....ou xoteservx...ou apocarai! eles lhe explicarao melhor!
  6. Malz..errei topico Olha eu posso tentar fazer se alguem quizer e so se manifestar!
  7. N tenhu certeza se ira funfa mais teste ai Na pasta data/actions/scripts: function onUse(cid, item, frompos, item2, topos) if item.uid == 3695 then queststatus = getPlayerStorageValue(cid,3696,1) if queststatus == 1 then doPlayerSendTextMessage(cid,22,"Você jah pegou sua recompensa.") else doPlayerSendTextMessage(cid,22,"Voce agora é Super Vip.") doSendMagicEffect(topos,12) coins_uid = doPlayerAddItem(cid,2160,100) coins_uid = doPlayerAddItem(cid,2322,1) setPlayerStorageValue(cid,3696,1) end return 0 end return 1 end data/movements/scrips: function onStepIn(cid, item, position, fromPosition) local config = { msgDenied = "Para Adquirir Vip diga: !buyvip2", msgWelcome = "Seja Bem Vindo a Area Vip" } if getPlayerStorageValue(cid, 3696,1) - os.time() <= 0 then doTeleportThing(cid, fromPosition, true) doPlayerSendTextMessage(cid, 21, config.msgDenied) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome) end end
  8. Testa ae agr ele vai alem de poder ganhar os itens o dinheiro vai varear de 200k a 500k -- Edited By Mulizeu local config = { lottery_hour = "4 Hour", rewards_id = {2160},{3366},{3414}, crystal_counts = 20 or 50, website = "yes" } function onThink(interval, lastExecution) if(getWorldCreatures(0) == 0)then return true end local list = {} for i, tid in ipairs(getPlayersOnline()) do list[i] = tid end local winner = list[math.random(1, #list)] local random_item = config.rewards_id[math.random(1, #config.rewards_id)] if(random_item == 12620) then doPlayerAddItem(winner, random_item, config.crystal_counts) doBroadcastMessage("[LOTTERY SYSTEM] Winner: " .. getCreatureName(winner) .. ", Reward: " .. config.crystal_counts .. " " .. getItemNameById(random_item) .. "s! Congratulations! (Proxima Loteria em " .. config.lottery_hour .. ")") else doBroadcastMessage("[LOTTERY SYSTEM] Winner: " .. getCreatureName(winner) .. ", Reward: " .. getItemNameById(random_item) .. "! Congratulations! (Proxima Loteria em " .. config.lottery_hour .. ")") doPlayerAddItem(winner, random_item, 1) end if(config.website == "yes") then db.executeQuery("INSERT INTO `lottery` (`name`, `item`) VALUES ('".. getCreatureName(winner) .."', '".. getItemNameById(random_item) .."');") end return true end
  9. Mulizeu

    Irformaçoes

    Entao amigo tem que ver se seu item.otb tem akeles portrait ja editados..se n vc tera que editar
  10. Mulizeu

    Irformaçoes

    Se o portrait for novo que vc adc...entao tem que editar no item.otb
  11. Mulizeu

    Irformaçoes

    Vc ja editou no item.otb???
  12. Mulizeu

    2 Scripts !

    Boa galaverna...pelo que eu entendi tbm e assim eu so editaria umas coisa..(acrescentaria) ---Editado Por Mulizeu-- local waittime = xxx ---aki coloque 1 tempo em segundos para que nao façam abuso do comando function onSay(cid, words, param, channel) doPlayerRemoveItem(7366,1) doPlayerAddItem(cid,XXX,1) doSendMagicEffect(getPlayerPosition(cid), xxx)-- aki coloque um efeito exemplo effeito 65 end
  13. Msn meu ta ae..
    Thi_hpg@hotmail.com
    la agente se fala abrass..
  14. Edited By mulizeu --------By Mulizeu---------- function Load (cid,fromposition, item, toposition) if item.itemid == 10021 and item.type == 1 then if getPlayerLevel (cid)> 80 then if doPlayerRemoveMoney (cid, 20000) then doRemoveItem (item.uid, 1) doPlayerAddItem (cid, 2640.1) doSendMagicEffect (getCreaturePosition (cid), 12) doPlayerSendTextMessage (cid, 22, "You renewed your Soft Boots.") else doPlayerSendCancel (cid, "You do not have enough money.") end else doPlayerSendCancel (cid, "You do not have enough level.") end end if item.itemid == 10022 and item.type == 1 then if getPlayerLevel (cid)> 130 then if doPlayerRemoveMoney (cid, 20000) then doRemoveItem (item.uid, 1) doPlayerAddItem (cid, 9932.1) doSendMagicEffect (getCreaturePosition (cid), 13) doPlayerSendTextMessage (cid, 22, "You renewed his Firewalker Boots.") else doPlayerSendCancel (cid, "You do not have enough money.") end else doPlayerSendCancel (cid, "You do not have enough level.") end end end Rep +++
  15. Quando vc citou acima que precisa de gente pra balancear os attacks e editar as magias...vc quer dizer nos move's..ou na magia passive..que o pokemon usara sozinho??...ou nos 2..=]?? eu testei esse client no pokemon serv ex..da debug
  16. Mulizeu

    Como Criar Itens

    olha amigo basta vc ler e sabera o que ele faz...eu tbm nao posso ajudar em td..corra atraz um pouco tbm..! mais vamos la um e para descompactar as exprit.. outro pra editar e outro pra editat o item no otb do seu sv
  17. Mulizeu

    Como Criar Itens

    Veja aki como faz.. Tutorial aki Se ajudei rep++
  18. Simples tbm..Vc cria uma magia salva ela na pasta data/spells...arquivo.lua.. dps cria uma tag exemplo <instant name="Magia" words="Nome que sera usado a magia" lvl="level personagem" mana="quantia de mana que gastara" direction="1" exhaustion="2000" needlearn="0" event="script" value="Magia.lua"> </instant>
  19. entaum amgio test esse Vamos logo ao script: Talkactions crie um arqui.lua e renomeio para ranking.lua function onSay(cid, words, param) t = {} b = {} n = 0 str = nil str2 = "" for i, pid in ipairs(getPlayersOnline()) do t[i] = getPlayerLevel(pid) end doShowTextDialog(cid, 2160, getString(t)) end function getString(t) b = {} for w, z in ipairs(getPlayersOnline()) do b[w] = order(t) e = getName().. " " .. b[w] str = str == nil and e or str.. "\n" .. e table.remove(t, table.find(t, n)) end return str end function getName() for s, d in ipairs(getPlayersOnline()) do if order(t) == getPlayerLevel(d) and not(string.find(str2, getCreatureName(d))) then str2 = str2 == "" and getCreatureName(d) or str2..getCreatureName(d) p = getCreatureName(d) break end end return p end function order(t) n = 0 for y, x in ipairs(t) do if x > n then n = x end end return n end E a tag: <talkaction words="!rank" script="ranking.lua" /> se ajudei rep++
  20. Mulizeu

    Como Criar Itens

    Olha isso nao sei lhe informar...ou entao amigo edita outro tipw de item que nao drope..para ser vendido como item vip!
  21. Voce ja testou algum system de rank...???? msm que nao seja especificamente para 9.10??
  22. Mulizeu

    Como Criar Itens

    Simples amigo basta vc ir na pasta data/monster/ pegar o monstro que dropa o item ..abri com bloco de notas e vai ate essa parte <loot> <item id="5876" countmax="1" chance="10000"/><!-- Axe --> <item id="2148" countmax="100" chance="50000"/><!-- blabla --> </loot> retira o item que e oq vc nao quer que drope mais...pronto Se ajudei rep++
  23. Mais vc mudou cap para 400...se quiser eu passo meu config.inc...para vc testa!!! qualquer coisa posta seu config.inc que eu vejo para vc!!
  24. Se vc tem esse problema pq o player faz acc no site va no htdocs...depois vai em config.inc...e procure por..$cfg['vocations'][$id]['cap']= x coloque cap 400 salve e fexe...pronto arrumado! Se ajudei Rep++
  25. No script acima ele so tem a funçao de add level ao player que matar..! mais se vc tem duvida...coloca o script acima..que passei..alterando onde o AnyurCt disse pra quantidade de cash que vc quer que o player ganhei ao matar outro!
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...