• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ help whit this code please

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

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:
Back
Top