megagaea
Scripter and mapper
- Joined
- Sep 25, 2013
- Messages
- 147
- Solutions
- 1
- Reaction score
- 29
i tried to changed the coin of buy house give me it
if(player->__getItemTypeCount(2157, -1) < house->getPrice() || !g_game.removeItemOfType(player, 2157, house->getPrice(), -1))
{
player->sendCancel("You do not have enough gold nuggets.");
g_game.addMagicEffect(player->getPosition(), MAGIC_EFFECT_POFF);
return false;
}
if(player->__getItemTypeCount(2157, -1) < house->getPrice() || !g_game.removeItemOfType(player, 2157, house->getPrice(), -1))
{
player->sendCancel("You do not have enough gold nuggets.");
g_game.addMagicEffect(player->getPosition(), MAGIC_EFFECT_POFF);
return false;
}