• 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!

Programmer c++ code issue pay on tibia coins.

darknelson

Member
Joined
Jun 19, 2011
Messages
190
Solutions
1
Reaction score
15
i have a problem with this code.


Lua:
if (getID() != ITEM_QUIVER && item->getAmmoType() != AMMO_NONE){
        return RETURNVALUE_THISISIMPOSSIBLE;
    }

with that only allow me to put any item inside only on quiver, not on backpack.

and what i want is that allow me to put only ammo on quiver, not backpack or other things inside.

pay on tc

pm me
 
i have a problem with this code.


Lua:
if (getID() != ITEM_QUIVER && item->getAmmoType() != AMMO_NONE){
        return RETURNVALUE_THISISIMPOSSIBLE;
    }

with that only allow me to put any item inside only on quiver, not on backpack.

and what i want is that allow me to put only ammo on quiver, not backpack or other things inside.

pay on tc

pm me
Add then an attribute into your quiver "as quiver" and execute the same code
 
Back
Top