5 minutos atrás, sirvitor4 disse:
Não consegui identificar esse current_slot chutei varios tbm rsrsrs tem algum lugar que lista essas ids?
Head=[1]
necklace=[2]
backpack=[3]
armor=[4]
right hand=[5]
left hand=[6]
legs=[7]
feet=[8]
ring=[9]
ammo=[10]
Agora, brazvct disse:
Head=[1]
necklace=[2]
backpack=[3]
armor=[4]
right hand=[5]
left hand=[6]
legs=[7]
feet=[8]
ring=[9]
ammo=[10]
lib/constant 000-constant
CONST_SLOT_FIRST = 1
CONST_SLOT_HEAD = CONST_SLOT_FIRST
CONST_SLOT_NECKLACE = 2
CONST_SLOT_BACKPACK = 3
CONST_SLOT_ARMOR = 4
CONST_SLOT_RIGHT = 5
CONST_SLOT_LEFT = 6
CONST_SLOT_LEGS = 7
CONST_SLOT_FEET = 8
CONST_SLOT_RING = 9
CONST_SLOT_AMMO = 10
CONST_SLOT_LAST = CONST_SLOT_AMMO