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.
|
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++
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.
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.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |