How i can count gray slots in equipment?

luizragna

New member
Messages
114
Points
0
Location
In their hearts
Emulator
Hello guys, How can I count the slots not available in the item?

Ex: I have a Sword[1] (indifferent if have equipped or not). How rhe script cant count the 3 not avalibies slots?

 
Last edited by a moderator:
This:

Code:
.@unavailable = 4 - getiteminfo(ID, ITEMINFO_SLOTS);
 
Back
Top