Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ACMD(do_shop_yang)
- {
- [...]
- #ifndef FULL_YANG
- long long nTotalMoney = ch->GetGold() + gold;
- if (GOLD_MAX <= nTotalMoney)
- {
- sys_err("[OVERFLOW_GOLD] Overflow (GOLD_MAX) id %u name %s", ch->GetPlayerID(), ch->GetName());
- ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have too much yang in your inventory));
- return;
- }
- #endif
- ///////////////////////////////////////////////////////////////////////////////////
- ACMD(do_shop_update_item)
- {
- [...]
- if (GOLD_MAX <= nTotalMoney)
- {
- sys_err("[OVERFLOW_GOLD] Overflow (GOLD_MAX) id %u name %s", ch->GetPlayerID(), ch->GetName());
- ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("20ľď łÉŔ» ĂĘ°úÇĎż© »óÁˇŔ» żĽö°ˇ ľř˝Ŕ´Ď´Ů"));
- return;
- }
- ///////////////////////////////////////////////////////////////////////////////////
- ACMD(do_gift_show)
- {
- [...]
- #ifndef FULL_YANG
- long long nTotalMoney = ch->GetGold()+count;
- if (GOLD_MAX <= nTotalMoney)
- {
- sys_err("[OVERFLOW_GOLD] Overflow (GOLD_MAX) id %u name %s", ch->GetPlayerID(), ch->GetName());
- ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("20ľď łÉŔ» ĂĘ°úÇĎż© »óÁˇŔ» żĽö°ˇ ľř˝Ŕ´Ď´Ů"));
- return true;
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement