If the money cheat is not working in Rome: Total War, it usually comes down to how the code is being entered rather than a fault with the game. Cheats in this title often require the console to be enabled first, and the exact command must be typed precisely.
Double-check that you have opened the console correctly and entered the code without errors. Getting the syntax exactly right is typically the key to making it work.