help on text box please

Started by markhep_1, Thu 25/03/2010 21:18:38

Previous topic - Next topic

markhep_1

hi in my game i have some money. I have made a global variable called cash and i have a texbox1. In the text box i want it to show the amount of cash and keep showing it when it goes up and down what do i have to type to get this

tzachs

In your global script, inside the repeatedly_execute function, put:
Code: ags

textbox1.Text = String.Format("%d", Cash);

markhep_1

its simple when you no how .Thanks mate sweet

SMF spam blocked by CleanTalk