Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: steptoe on Mon 12/12/2011 21:24:19

Title: SOLVED: Display input players name on a label
Post by: steptoe on Mon 12/12/2011 21:24:19
Hi

EDIT: Solved


  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:

Leddie.Text="%s";


And

Leddie.Text ="%s, player.Name";

help appreciated

cheers