[Skrypt] Pokemon Room!

Status
Hilo no abierto para más respuestas.

Feeirzen

Retired PL Mod
Heyka!
Od dzisiaj postanowiłem, że spróbuje swoich sił w lua. Jak pamiętacie, kiedyś istniał room z pokemonami. Już za to niedługo będziecie mogli je włączyć w swoim plemieniu! Zacząłem pisać podróbę takiego pokoju :)

Dodane zostanie ułatwienie, gdzie będziecie mogli użyć komendy !(nazwapokemona)

Na tą chwile kończę już pisać pierwszą generacje pokemonów.
Code:
local Pokemon = ''



function eventChatCommand(playerName, command)

  if command == "bulbasaur" then

    Pokemon = tfm.exec.addImage("ef16dde463fe11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "ivysaur" then

    Pokemon = tfm.exec.addImage("6a4c6c0e63ff11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "venusaur" then

    Pokemon = tfm.exec.addImage("c7cfacf663ff11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "charmander" then

    Pokemon = tfm.exec.addImage("92ae922a640011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "charmeleon" then

    Pokemon = tfm.exec.addImage("d7fb6894640011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "charizard" then

    Pokemon = tfm.exec.addImage("fbdebb44640011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "squirtle" then

    Pokemon = tfm.exec.addImage("2ef441de640111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "wartotle" then

    Pokemon = tfm.exec.addImage("4a5f920c640111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "blastoise" then

    Pokemon = tfm.exec.addImage("7642dd8e640111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "caterpie" then

    Pokemon = tfm.exec.addImage("9870f274640111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "metapod" then

    Pokemon = tfm.exec.addImage("b77ceb28640111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "butterfree" then

    Pokemon = tfm.exec.addImage("1d85e172640211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "weedle" then

    Pokemon = tfm.exec.addImage("3b9a3f50640211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "kakuna" then

    Pokemon = tfm.exec.addImage("5cdf55ec640211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "beedrill" then

    Pokemon = tfm.exec.addImage("99aa7b50640211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "pidgey" then

    Pokemon = tfm.exec.addImage("b8fd4406640211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "pidgeotto" then

    Pokemon = tfm.exec.addImage("d8109690640211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "pidgeot" then

    Pokemon = tfm.exec.addImage("075d1676640311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "ratatta" then

    Pokemon = tfm.exec.addImage("d3714c60641b11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "raticate" then

    Pokemon = tfm.exec.addImage("1d7f33c6641c11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "spearow" then

    Pokemon = tfm.exec.addImage("49fae36e641c11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "fearow" then

    Pokemon = tfm.exec.addImage("70a7bf82641c11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "ekans" then

    Pokemon = tfm.exec.addImage("b2e63f54641c11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "arbok" then

    Pokemon = tfm.exec.addImage("d4257540641c11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "pikachu" then

    Pokemon = tfm.exec.addImage("fe1e6ffa641c11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "raichu" then

    Pokemon = tfm.exec.addImage("24a09f22641d11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "sandshrew" then

    Pokemon = tfm.exec.addImage("4aad9ad0641d11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "sandshlash" then

    Pokemon = tfm.exec.addImage("6db14fa4641d11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "nidorina" then

    Pokemon = tfm.exec.addImage("b34d91ee641d11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "nidoqueen" then

    Pokemon = tfm.exec.addImage("e5585f48641d11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "nidorino" then

    Pokemon = tfm.exec.addImage("03b863e8641e11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "nidoking" then

    Pokemon = tfm.exec.addImage("24388c38641e11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "clefairy" then

    Pokemon = tfm.exec.addImage("e8c7c8be642011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "clefable" then

    Pokemon = tfm.exec.addImage("3f9ce818642111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "vulpix" then

    Pokemon = tfm.exec.addImage("a2122cc8642211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "ninetales" then

    Pokemon = tfm.exec.addImage("be8a3df0642211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "jigglypuff" then

    Pokemon = tfm.exec.addImage("df999c7a642211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "wigglytuff" then

    Pokemon = tfm.exec.addImage("06b76aee642311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "zubat" then

    Pokemon = tfm.exec.addImage("2a25bff8642311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "golbat" then

    Pokemon = tfm.exec.addImage("42bdbfc0642311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "oddish" then

    Pokemon = tfm.exec.addImage("b8755b6a642311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "gloom" then

    Pokemon = tfm.exec.addImage("d1277ff8642311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "vileplume" then

    Pokemon = tfm.exec.addImage("ea8fd864642311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "paras" then

    Pokemon = tfm.exec.addImage("184d80a8642411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "parasect" then

    Pokemon = tfm.exec.addImage("32854a1e642411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "venonat" then

    Pokemon = tfm.exec.addImage("4e2e00f8642411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "venomoth" then

    Pokemon = tfm.exec.addImage("22dd7b92642711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "diglett" then

    Pokemon = tfm.exec.addImage("413ee1c0642711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "dugtrio" then

    Pokemon = tfm.exec.addImage("b4f31810646e11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "meowth" then

    Pokemon = tfm.exec.addImage("ceecadee646e11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "persian" then

    Pokemon = tfm.exec.addImage("ed295622646e11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "psyduck" then

    Pokemon = tfm.exec.addImage("0b237496646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "golduck" then

    Pokemon = tfm.exec.addImage("23ba11a4646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "mankey" then

    Pokemon = tfm.exec.addImage("441f2592646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "primeape" then

    Pokemon = tfm.exec.addImage("60058e18646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "growlithe" then

    Pokemon = tfm.exec.addImage("7cef8fb0646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "arcanine" then

    Pokemon = tfm.exec.addImage("9dc0616a646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "poliwag" then

    Pokemon = tfm.exec.addImage("ba1e1618646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "poliwhirl" then

    Pokemon = tfm.exec.addImage("d54f7526646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "poliwrath" then

    Pokemon = tfm.exec.addImage("ef408ab0646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "abra" then

    Pokemon = tfm.exec.addImage("0a4ed8ca647011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "kadabra" then

    Pokemon = tfm.exec.addImage("20a3040c647011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "alakazam" then

    Pokemon = tfm.exec.addImage("3bfc7314647011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "machop" then

    Pokemon = tfm.exec.addImage("561a10de647111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "machoke" then

    Pokemon = tfm.exec.addImage("75df5c94647111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "machamp" then

    Pokemon = tfm.exec.addImage("8fe36680647111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "bellsprout" then

    Pokemon = tfm.exec.addImage("ae77d8b0647111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "weepinbell" then

    Pokemon = tfm.exec.addImage("c9d862aa647111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "victreebel" then

    Pokemon = tfm.exec.addImage("e4a098be647111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "tentacool" then

    Pokemon = tfm.exec.addImage("22644cae647211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "tentacluer" then

    Pokemon = tfm.exec.addImage("4fa4b5aa647211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "geodude" then

    Pokemon = tfm.exec.addImage("0cf0c3dc647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "graveler" then

    Pokemon = tfm.exec.addImage("28de3ebc647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "golem" then

    Pokemon = tfm.exec.addImage("422eb2fc647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "ponyta" then

    Pokemon = tfm.exec.addImage("651e268a647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "rapidash" then

    Pokemon = tfm.exec.addImage("806c3a08647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "slowpoke" then

    Pokemon = tfm.exec.addImage("9c9057aa647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "slowbro" then

    Pokemon = tfm.exec.addImage("b244b29e647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "magnemite" then

    Pokemon = tfm.exec.addImage("cd2cc1e6647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "magneton" then

    Pokemon = tfm.exec.addImage("ea1a1420647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "doduo" then

    Pokemon = tfm.exec.addImage("06e85f58647511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "dodrio" then

    Pokemon = tfm.exec.addImage("253f39cc647511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "seel" then

    Pokemon = tfm.exec.addImage("3b39736e647511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "dewgong" then

    Pokemon = tfm.exec.addImage("59a6b10e647511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "grimer" then

    Pokemon = tfm.exec.addImage("76955996647511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "muk" then

    Pokemon = tfm.exec.addImage("8f7ff272647511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "shellder" then

    Pokemon = tfm.exec.addImage("7ad29502649111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "cloyster" then

    Pokemon = tfm.exec.addImage("9f357f18649111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "gastly" then

    Pokemon = tfm.exec.addImage("b9aa6b24649111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "haunter" then

    Pokemon = tfm.exec.addImage("d41092cc649111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "gengar" then

    Pokemon = tfm.exec.addImage("152239dc649211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "onix" then

    Pokemon = tfm.exec.addImage("84d967d264e211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "drowzee" then

    Pokemon = tfm.exec.addImage("9f6a472e64e211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "hypno" then

    Pokemon = tfm.exec.addImage("bad58c0864e211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "krabby" then

    Pokemon = tfm.exec.addImage("d487d5a264e211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "kingler" then

    Pokemon = tfm.exec.addImage("ed07424864e211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "voltorb" then

    Pokemon = tfm.exec.addImage("0813e3e864e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "electrode" then

    Pokemon = tfm.exec.addImage("24fef27c64e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "exeggcute" then

    Pokemon = tfm.exec.addImage("3eb53e5664e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "exeggutor" then

    Pokemon = tfm.exec.addImage("5b172ea664e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "cubone" then

    Pokemon = tfm.exec.addImage("7fd7938e64e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "marowak" then

    Pokemon = tfm.exec.addImage("99494fd864e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "hitmonlee" then

    Pokemon = tfm.exec.addImage("b15a9b6864e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "hitmonchan" then

    Pokemon = tfm.exec.addImage("cd77311c64e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "lickitung" then

    Pokemon = tfm.exec.addImage("e63b0d4a64e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "koffing" then

    Pokemon = tfm.exec.addImage("fcf4260c64e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "weezing" then

    Pokemon = tfm.exec.addImage("1a0b3aa064e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "rhyhorn" then

    Pokemon = tfm.exec.addImage("3262e3fa64e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "rhydon" then

    Pokemon = tfm.exec.addImage("4b29d90264e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "chansey" then

    Pokemon = tfm.exec.addImage("7c7d669a64e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "tangela" then

    Pokemon = tfm.exec.addImage("950eff0c64e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "kangaskhan" then

    Pokemon = tfm.exec.addImage("aec3ba0a64e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "horsea" then

    Pokemon = tfm.exec.addImage("c461d34c64e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "seadra" then

    Pokemon = tfm.exec.addImage("e88ab0fe64e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "goldeen" then

    Pokemon = tfm.exec.addImage("ffd439c464e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "seaking" then

    Pokemon = tfm.exec.addImage("192aafca64e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "staryu" then

    Pokemon = tfm.exec.addImage("331eaac664e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "starmie" then

    Pokemon = tfm.exec.addImage("4d21e63664e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "mr_mime" then

    Pokemon = tfm.exec.addImage("67eb0c2264e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "scyther" then

    Pokemon = tfm.exec.addImage("81cf66d864e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "jynx" then

    Pokemon = tfm.exec.addImage("9e9c779264e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "electabuzz" then

    Pokemon = tfm.exec.addImage("c0ad7e8a64e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "magmar" then

    Pokemon = tfm.exec.addImage("d87b7ada64e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "pinsir" then

    Pokemon = tfm.exec.addImage("ef92f89c64e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "tauros" then

    Pokemon = tfm.exec.addImage("087545b864e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "magikarp" then

    Pokemon = tfm.exec.addImage("1f04268264e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "gyarados" then

    Pokemon = tfm.exec.addImage("362f5cd264e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "lapras" then

    Pokemon = tfm.exec.addImage("50594d8464e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "ditto" then

    Pokemon = tfm.exec.addImage("698d627c64e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "eevee" then

    Pokemon = tfm.exec.addImage("87021f5a64e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "vaporeon" then

    Pokemon = tfm.exec.addImage("a0c10bea64e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "jolteon" then

    Pokemon = tfm.exec.addImage("ba587d4064e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "flareon" then

    Pokemon = tfm.exec.addImage("d401833664e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "porygon" then

    Pokemon = tfm.exec.addImage("edc681c264e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "omanyte" then

    Pokemon = tfm.exec.addImage("0a21acc064e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "omastar" then

    Pokemon = tfm.exec.addImage("230f698464e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "kabuto" then

    Pokemon = tfm.exec.addImage("3e1ddb5c64e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "kabutops" then

    Pokemon = tfm.exec.addImage("5c2aa90464e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "aerodactyl" then

    Pokemon = tfm.exec.addImage("75e79cb264e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "snorlax" then

    Pokemon = tfm.exec.addImage("9908d8fa64e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "articuno" then

    Pokemon = tfm.exec.addImage("b30004fe64e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "zapdos" then

    Pokemon = tfm.exec.addImage("cd87b07464e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "moltres" then

    Pokemon = tfm.exec.addImage("ec17565c64e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "dratini" then

    Pokemon = tfm.exec.addImage("196e2f1864e811e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "dragonair" then

    Pokemon = tfm.exec.addImage("356c118064e811e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "dragonite" then

    Pokemon = tfm.exec.addImage("529d7c6c64e811e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "mewtwo" then

    Pokemon = tfm.exec.addImage("702c017c64e811e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "mew" then

    Pokemon = tfm.exec.addImage("88578ed864e811e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "nidoran_f" then

    Pokemon = tfm.exec.addImage("25efc46264e911e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "nidoran_m" then

    Pokemon = tfm.exec.addImage("42ba841a64e911e78ef9109836a51f7d.png", "%"..playerName, -35, -60)

  elseif command == "usun" then

    tfm.exec.removeImage(Pokemon)

  elseif command == "help" then

    ui.addLog('<ROSE>Witaj w <VP>PokeLua<ROSE>! Już dzisiaj masz możliwość na wcielenie sie w swojego ulubionego pokemona! <br><br><ROSE><b>Komendy</b><br><VP>!nazwapokemona - Wcielasz sie w danego pokemona<br>!usun - usuwa zdjecie pokemona<br><br><ROSE><b>Autorzy</b><br><VP>Feeirzen - zgłaszaj do niego problemy dotyczące tego kodu <br>Sry - pomoc przy kodzie', playerName)

  end

end



function eventNewPlayer(playerName)

  tfm.exec.chatMessage("<ROSE>[~PokeSystem] Wpisz w chacie komendę <FC>!help <ROSE>, aby uzyskać dalszą pomoc. <br><PT>Wersja: 1.0 <br><BV>Wszelkie prawa zastrzeżone")

end



for playerName in pairs(tfm.get.room.playerList) do

  eventNewPlayer(playerName)

end
 
Last edited:
Status
Hilo no abierto para más respuestas.
Top
"Dev-TR" theme by Soulzone