- Joined
- Nov 30, 2007
- Messages
- 511
- Reaction score
- 0
In NPCConversationManager, before the last '}' bracket:
Example cm.modifyNX(133337, 0);
Gives me 133,337 NX cash.
'Credits', I guess, would go to me.
Example cm.modifyNX(133337, 0);
Gives me 133,337 NX cash.
PHP:
public void modifyNX(int amount, int type) {
getPlayer().modifyCSPoints(type, amount);
if (amount > 0) {
getClient().getSession().write(MaplePacketCreator.serverNotice(5, "You have gained NX Cash (+" + amount +")."));
} else {
getClient().getSession().write(MaplePacketCreator.serverNotice(5, "You have lost NX Cash (" + (amount) +")."));
}
}
'Credits', I guess, would go to me.
Last edited:

