darknelson
Member
- Joined
- Jun 19, 2011
- Messages
- 190
- Solutions
- 1
- Reaction score
- 15
hello i making a code for cant put items on my quiver, i tried this and this
the problem with the first one, is letting add you the items you want inside quiver, not just ammo.
the second one works but dont let you get any item on any backpack or even quiver.
please help me bros.
my quiver item id is 5989
and is already working with my ot. just need that part and its completed please bros help
Please help bro, bump
Lua:
if (getName() != "Quiver" && (!(item->getSlotPosition() & SLOTP_AMMO) || item->getName() != "Quiver")) {
return RETURNVALUE_NOTENOUGHROOM;
}
Code:
if (getName() == "Quiver" && (!(item->getSlotPosition() & SLOTP_AMMO) || item->getName() == "Quiver")) {
return RETURNVALUE_NOTENOUGHROOM;
}
the problem with the first one, is letting add you the items you want inside quiver, not just ammo.
the second one works but dont let you get any item on any backpack or even quiver.
please help me bros.
my quiver item id is 5989
and is already working with my ot. just need that part and its completed please bros help
Post automatically merged:
Please help bro, bump
Last edited: