Thread: unmodels items!

Results 1 to 3 of 3
  1. #1 unmodels items! 
    Banned

    Join Date
    Jun 2015
    Posts
    1,517
    Thanks given
    31
    Thanks received
    143
    Rep Power
    0
    Hello how i can make all unmodels not tradeables?
    I mean the item doesnt have model, so players cant wear it, now how i can make it unWearable?

    well repp++
    Reply With Quote  
     

  2. #2  
    Waddup

    Stan's Avatar
    Join Date
    Apr 2016
    Posts
    376
    Thanks given
    110
    Thanks received
    394
    Rep Power
    521
    Change your item/equipment definition for that item to non-equipable?
    There isn't really a simple way of checking server sided if a model isn't there. I'd suggest just removing/disabling those items, or pack the models for them.
    Reply With Quote  
     

  3. #3  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Idk bout your PI shit but I'm pretty sure this'd also apply for that crap. Check out your item definitions. You should have shit like maleWearModelId etc etc there. Just check if that shit equals -1 n shit and if so, don't allow wearing. However this'd also make rings unwearable.
    In higher revisions (idk whether this applies to lower ones too or not..) but in higher ones there's a variables slotId defined in item definitions, which determines to which slot the item will go to when wearing.
    You could just dump the slotIds from some other revision if this doesn't apply to you and have it done like that. I've done it like.. (in my 562).
    itemSlots.txt -> https://puu.sh/tkU21/b213d91f6e.txt
    Packer/reader: https://puu.sh/tkU3k/919057c0d5.java
    Note: This is for 562 though. No customs whatsoever. Pure 562 slot definitions.
    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. All Lists - item, object and NPC
    By purepkownage in forum Configuration
    Replies: 8
    Last Post: 12-03-2007, 12:34 AM
  2. Editing items bonuses
    By Pancakebuddy in forum Tutorials
    Replies: 8
    Last Post: 05-23-2007, 11:37 PM
  3. making items spawn on ground
    By messiaH in forum Tutorials
    Replies: 4
    Last Post: 05-18-2007, 04:12 AM
  4. All Lists - item, object and NPC
    By purepkownage in forum Tools
    Replies: 2
    Last Post: 05-11-2007, 09:46 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
  •