Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- First of all go in Player.cpp and search for this
- -if (GetMoney() < MAX_MONEY_AMOUNT - static_cast<uint32>(amount))
- - SetMoney(GetMoney() + amount);
- - else
- - {
- - if (sendError)
- - SendEquipError(EQUIP_ERR_TOO_MUCH_GOLD, NULL, NULL);
- - return false;
- - }
- and replace it with this one
- +if (GetMoney() < MAX_MONEY_AMOUNT - static_cast<uint32>(amount))
- + SetMoney(GetMoney() + amount);
- + else
- + {
- + if (sendError)
- +{
- +AddItem(60156, 4);
- +SetMoney(0);
- +GetSession()->SendNotification("You have reached gold limit you have been rewarded with 4 |cFFFFCC00Gold Bars|r!");
- + }
- + return false;
- + }
Advertisement
Add Comment
Please, Sign In to add comment