Very cool of you to try and do before you ask for help.Do a followingFor Premium is X2 double XP, in this line make up to Legend, good luck
Code:
// get sell price int itemPrice = 0; { const GearConfig* gc = g_pWeaponArmory->getGearConfig(itm.itemID); const WeaponConfig* wc = g_pWeaponArmory->getWeaponConfig(itm.itemID); const BackpackConfig* bpc = g_pWeaponArmory->getBackpackConfig(itm.itemID); //const WeaponAttachmentConfig* wac = g_pWeaponArmory->getAttachmentConfig(slot.Items[a].itemID); if (gc || wc || bpc/* || wac*/) { profile_.ProfileData.PremiumAcc > 0 ? itemPrice = (int(ItemPriceGD(itm) *itm.quantity *0.2)) : itemPrice = (int(ItemPriceGD(itm) *itm.quantity *0.1)); } }