Thread: 667+ teleport containsInventory,containsEqupment

Results 1 to 4 of 4
  1. #1 667+ teleport containsInventory,containsEqupment 
    Registered Member
    Join Date
    Jun 2013
    Posts
    221
    Thanks given
    49
    Thanks received
    7
    Rep Power
    0
    Hi!

    need help with :

    when i click on teleport it contains player have 28 free space on inventory and nothing on equipment.
    Thanks for helping!
    Respect

    skype : benn.bm
    Skype : benn.bm

    Santa_Hat
    gf.son
    zeropointx
    Noobforlunch
    Guthans
    Reply With Quote  
     

  2. #2  
    Let the games begin!

    Angeloflife's Avatar
    Join Date
    Jul 2013
    Age
    26
    Posts
    754
    Thanks given
    21
    Thanks received
    147
    Rep Power
    83
    Dont really understand what you mean could you explain a little more?
    Reply With Quote  
     

  3. #3  
    Success is the worst teacher

    Santa Hat's Avatar
    Join Date
    Oct 2012
    Age
    27
    Posts
    3,334
    Thanks given
    807
    Thanks received
    1,185
    Rep Power
    190
    What? You want to know if a player has 28 free spaces in his inventory and is wielding nothing?

    Code:
    if (player.getInventory().getFreeSlots() == 28)
    that would check if the player has 28 free slots in their inventory

    This should work for equipment however I havent tested it

    Code:
    if (player.getEquipment().getItems().getItems() == null)


    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2013
    Posts
    221
    Thanks given
    49
    Thanks received
    7
    Rep Power
    0
    Quote Originally Posted by Santa Hat View Post
    What? You want to know if a player has 28 free spaces in his inventory and is wielding nothing?

    Code:
    if (player.getInventory().getFreeSlots() == 28)
    that would check if the player has 28 free slots in their inventory

    This should work for equipment however I havent tested it

    Code:
    if (player.getEquipment().getItems().getItems() == null)
    Thanks Bro 33
    Skype : benn.bm

    Santa_Hat
    gf.son
    zeropointx
    Noobforlunch
    Guthans
    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 Teleporting help
    By Miss Emily in forum Help
    Replies: 7
    Last Post: 10-31-2013, 12:47 PM
  2. 667/*** Teleport Command
    By owner iwan in forum Snippets
    Replies: 7
    Last Post: 06-29-2013, 01:07 AM
  3. 667 Teleport Tablets
    By Ynneh in forum Help
    Replies: 5
    Last Post: 09-06-2012, 01:23 AM
  4. 667 Teleport help.
    By 'Brad in forum Help
    Replies: 3
    Last Post: 07-12-2012, 12:19 AM
  5. [667] Teleport Text?
    By USKO in forum Help
    Replies: 0
    Last Post: 07-10-2012, 05:29 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
  •