RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

wrong way of doing this?

S

shadeuo

Guest
wrong way of doing this?

ok recently I added a new item its kind of a vet reward for 1 year vets. all it is is a shirt with a new name. ok how it works is if you click a stone and your account is over 1 yr old you get the shirt. not the part I am having troubles with is adding the name to the shirt heres the code.

Code:
				Item shrt = new Tunic();
				shrt.Name = "{0} the 1 year vet at {1}",plyr.Name ,DateTime.Now;
				plyr.AddToBackpack( shrt );
 
Top