texbox problem

Started by markhep_1, Sun 30/08/2009 19:23:59

Previous topic - Next topic

markhep_1

hi probley a simple quistion i got this code that works
code:
Display("The player has $%d.", player.InventoryQuantity[iCash.ID]);

the problem is i dont want to display it i want it to appear in a textbox what code would i write

Akatosh

Simple indeed.

Code: ags

TextBox.Text=String.Format("The player has $%d.", player.InventoryQuantity[iCash.ID]);


Untested, but this should work.

markhep_1

perfect mate nice one

SMF spam blocked by CleanTalk