SOLVED: Display input players name on a label

Started by steptoe, Mon 12/12/2011 21:24:19

Previous topic - Next topic

steptoe

Hi

EDIT: Solved

Code: ags

  player.Name = tbInput1.Text;
 Leddie.Text = String.Format("%s", player.Name);

--------------------------------------------------------------------------------------


I'm trying to put an inputted players name onto a label that displays.

A character Say /Display with inputted players name 0k it's just getting it to display onto a label.

Have tried:

Code: ags
 Leddie.Text="%s";


And

Code: ags
 Leddie.Text ="%s, player.Name";


help appreciated

cheers


SMF spam blocked by CleanTalk