Shop tabs

Results 1 to 7 of 7
  1. #1
    I'm The God pauljeki is offline
    Grand MasterRank
    Oct 2011 Join Date
    IsraelLocation
    736Posts

    Shop tabs

    how do i make shop tabs like .
    Weapons | scrolls


  2. #2
    Member Loca is offline
    MemberRank
    Jul 2012 Join Date
    61Posts

    Re: Shop tabs

    var name = "#b#eTesting#k#n";
    var talk = "What would you like to browse?\r\n\r\n";
    var menu = ["Common","Warrior","Magician","Archer","Thief","Pirate","NX","ETC"];
    var options = [
    /*Common*/ ["Caps","Earrings","Necklaces and Face Accessory","Capes","Overalls","Gloves","Shields","Shoes","Maple Weapons","Items level 0"],
    /*Warrior*/ ["Caps","Tops","Bottoms","Overalls","Gloves","Shields","Shoes","1H Axes","2H Axes","1H BWs","2H BWs","1H Swords","2H Swords","Spears","Pole Arms"],
    /*Mage*/ ["Caps","Overalls","Gloves","Shields","Shoes","Wands","Staffs"],
    /*Archer*/ ["Caps","Overalls","Gloves","Shoes","Bows","CrossBows","Arrows"],
    /*Thief*/ ["Caps","Tops","Bottoms","Overalls","Gloves","Shields","Shoes","Daggers","Claws","Throwing Stars"],
    /*Pirate*/ ["Caps","Overalls","Gloves","Shoes","Weapons","Bullets and Capsules"],
    /*NX*/ ["Caps","Earrings","Face","Tops","Bottoms","Capes","Overalls","Rings","Gloves","Shields","Shoes","Weapons","Throwing Stars","Pets","Pet Misc","Emotion","Effects","Accessories","FM Stores"],
    /*ETC*/ ["Messengers","Megaphones, Gachapon, Rocks,Morphs","Boss Pieces","Buffs and Potions","Scrolls","Summoning Sacks","Chairs","Mounts"]];
    var colors = ["#g","#r","#d","#b"];
    var rand = Math.floor(Math.random()*4);
    var rand2 = Math.ceil(Math.floor(Math.random()*4));
    var c;
    npc = 0;
    function start() {
    var text = "Hey #e#d#h ##k#n. I am the All in One seller of ServerName";
    for (var z = 0; z < menu.length; z++)
    text+= "#L"+z+"##e"+colors[rand]+""+menu[z]+"#l\r\n";
    cm.sendSimple(text);
    }
    function action(m,t,s) {
    if (m != 1) {
    cm.dispose();
    return;
    }else{
    npc++;
    }
    if (npc == 1) {
    c = s;
    for (var i = 0; i < options[c].length; i++)
    talk+="#L"+i+"##e"+colors[rand2]+""+options[c][i]+"#k#l\r\n";
    cm.sendSimple(talk);
    } else if (npc == 2) {
    cm.openShop(6000+((c*100)+s));
    cm.dispose();
    }
    }
    try look at this... this is aio shop to v111.. this is npc..

  3. #3
    I'm The God pauljeki is offline
    Grand MasterRank
    Oct 2011 Join Date
    IsraelLocation
    736Posts

    Re: Shop tabs

    this is not what i meant

  4. #4
    Member Loca is offline
    MemberRank
    Jul 2012 Join Date
    61Posts

    Re: Shop tabs

    you can give me a picture?

  5. #5
    I'm The God pauljeki is offline
    Grand MasterRank
    Oct 2011 Join Date
    IsraelLocation
    736Posts

    Re: Shop tabs


  6. #6
    Member Yonatan is offline
    MemberRank
    Aug 2012 Join Date
    55Posts

    Re: Shop tabs

    upp..........

  7. #7
    Grand Master AristoCat is offline
    Grand MasterRank
    Apr 2012 Join Date
    947Posts

    Re: Shop tabs

    You shops fix has removed it, the original Lithium's sql had it in the shopitems table.



Advertisement