My script changes a custom HUD based on the amount of "Cash" the player has, to display it. I know it sounds backwards, but if I have $5, image "005" is the HUD, and shows "$5". I can pickup $99 (images 000 - 099) , but once I pick up $100, my HUD dissappears. Why can't I load image 100, or 101, or 102? Please help guys.
function dan_init(e)
LoadImages( "cashexp\")
end
function dan_main(e)
dan = CASH;
SetImagePosition(10,18,15)
ShowImage(dan)
end
Again, this code works, as long as the players money is below $100, I pick up "cash boxes" to test it. The cash boxes increase the CASH variable by 5 (or whatever I set) through their own script.