Thread: 667 Automaticly equp gear

Results 1 to 3 of 3
  1. #1 667 Automaticly equp gear 
    Registered Member
    Join Date
    Oct 2015
    Posts
    124
    Thanks given
    9
    Thanks received
    1
    Rep Power
    9
    can someone please post a ::melee command that will automaticly equip items like berserker gear please, thanks.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Oct 2015
    Posts
    124
    Thanks given
    9
    Thanks received
    1
    Rep Power
    9
    Quote Originally Posted by VistageX View Post
    //Inventory
    [SPOIL] int Inventory[][] = {{557, 5000}, {560, 5000}};
    for (int i = 0; i < Inventory.length; i++)
    player.getInventory().addItem(Inventory[i][0], Inventory[i][1])/SPOIL]

    //Equipment
    [SPOIL] player.getEquipment().getItems().set(Equipment.SLO T_HAT, new Item(id goes here));
    [/SPOIL]

    You can do the rest Not hard.
    i have tried that but look..
    compiling...
    src\com\rs\game\player\content\Commands.java:3956: error: cannot find symbol
    player.getEquipment().getItems().set(Equipment.SLO T_HAT, new Item(2581, 1));
    ^
    symbol: variable Equipment
    location: class Commands
    Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . .
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,409
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    Quote Originally Posted by kartak View Post
    i have tried that but look..
    compiling...
    src\com\rs\game\player\content\Commands.java:3956: error: cannot find symbol
    player.getEquipment().getItems().set(Equipment.SLO T_HAT, new Item(2581, 1));
    ^
    symbol: variable Equipment
    location: class Commands
    Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . .
    Imports..
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [667] How do i add ;;gear?
    By ozlaya in forum Help
    Replies: 6
    Last Post: 12-08-2014, 10:16 PM
  2. [667] Gear Selection Tab
    By Blazi in forum Show-off
    Replies: 19
    Last Post: 08-18-2014, 11:07 PM
  3. Replies: 1
    Last Post: 04-09-2013, 12:14 AM
  4. Replies: 0
    Last Post: 11-25-2012, 03:49 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •