Try this;
12920,Enriched_Elunium_Box,Enriched Elunium Box,18,20,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ if (((Weight*100)/MaxWeight) > 49) { message strcharinfo(0), "You are overweight, you cannot open the box!"; getitem 12920,1; } if (((Weight*100)/MaxWeight) < 49) { getitem 7619,10; } },{},{}
Hi, Anakid! i have tested it works fine, however, if the player is overweight the giftbox will be delitem? how to make this one that cannot delitem? only if the player is non-overweight will be deducted the gift box or delitem.
Just change the getitem ItemID.
Excuse me? what do you mean change the getitem ltemID.?
My concern is, if a player is overweight the giftbox should not be delitem, unless if a player gets the reward and the giftbox will be deleted.