public override void AddNameProperties(ObjectPropertyList list)
{
if (!Core.SA)
{
base.AddNameProperties(list);
XmlPoints a = (XmlPoints)XmlAttach.FindAttachment(this, typeof(XmlPoints));
XmlData XmlPointsTitle = (XmlData)XmlAttach.FindAttachment(this, typeof(XmlData), "XmlPointsTitle");
if ((XmlPointsTitle != null && XmlPointsTitle.Data == "True") || a == null)
{
return;
}
else if (IsPlayer())
{
list.Add(1070722, "Kills {0} / Deaths {1} : Rank={2}", a.Kills, a.Deaths, a.Rank);
}
return;
}
// Start your custom stuff here:
list.Add("Player Class: {0}", myCustomClass);
list.Add("Player Level: {0}", myCustomLevel);
list.Add("Total Experience: {0}", myCustomExperience);
... *SNIP* ...
if(this.Egitmen == true)
{
list.Add("Hayvan Eğitmeni");
}
private bool m_Egitmen;
[CommandProperty(AccessLevel.Administrator)]
public bool Egitmen
{
get { return m_Egitmen; }
set { InvalidateProperties(); m_Egitmen = value; }
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.