It depends on how exactly you want it to look like.
Let's assume you'll use some "HUD" style window, which will be always visible on screen, displaying the money amount and possibly some other info.
So you'll create a window, something like this:
WINDOW
{
NAME = "hud"
X = 0
Y = 0
WIDTH = 800
HEIGHT = 600
TRANSPARENT = TRUE
STATIC
{
NAME = "money"
X = 0
Y = 0
WIDTH = 100
HEIGHT = 30
FONT = "fonts\some.font"
}
}
Then load the window when the game starts. In game.script call something like:
global HudWindow = Game.LoadWindow("path\hud.window");
HudWindow.Visible = true;
And the most convenient way of maintaining the money display would be, IMO, adding a new Game method for changing the amount. Add this to game.script:
global MoneyAmount = 0;
method AddMoney(AddAmount)
{
MoneyAmount = MoneyAmount + AddAmount;
var MoneyDisplay = HudWindow.GetControl("money");
MoneyDisplay.Text = "$" + ToString(MoneyAmount);
}
Now, whenever you need to change the money amount, you'll simply call something like:
Game.AddMoney(100);
or
Game.AddMoney(-50);
This call will both update the MoneyAmount variable and the HUD display.
Disclaimer: the code above is totally untested and may contain errors.