• Due to recent spam attacks that heavily used compormised accounts we did reset all user passwords, AGAIN, if it happens and your account got compromised again due to re-used passwords your account will be perma-banned.

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