• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Compiling compiling Gns Talkaction for house

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
2n86l3m.png

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;
}
 
cant you just add gold nuggets as money to the sources? e.g where gold/plat/crystals are defined, and itll automatically work with them?
 

Similar threads

Back
Top