Warlords 2 (PC)
Save your game, then edit it with your hex editor. Current money is in hex, but in reverse order. eg: 3227 is 0c9b in hex, look for 9b0c when searching. 9000 is 2328 in hex. In case you don't know how, just save the game, check how much money you have currently, convert that number into hex and follow above instructions.