staff title under staff members name(runuo 2.0)
i take no credit for this script mod all i did was add the new levels of access.
it works and has been tested.
all you do is add the part in red on the line after base.GetProperties around line 2782 in your playermobile.cs
all props go to Joeku for the fix all i did was add 2 lines for 2.0
when its done it should say Staff : (access level) under the players name
i take no credit for this script mod all i did was add the new levels of access.
it works and has been tested.
all you do is add the part in red on the line after base.GetProperties around line 2782 in your playermobile.cs
all props go to Joeku for the fix all i did was add 2 lines for 2.0
Code:
public override void GetProperties( ObjectPropertyList list )
{
base.GetProperties( list );
[COLOR="Red"] if (AccessLevel > AccessLevel.Player)
{
string color = "";
switch ( AccessLevel )
{
case AccessLevel.Counselor: color = "#00BFFF"; break; //Deep Sky Blue
case AccessLevel.GameMaster: color = "#FF0000"; break; //Red
case AccessLevel.Seer: color = "#00FF00"; break; //Green
case AccessLevel.Administrator: color = "#FFD700"; break; //Gold
case AccessLevel.Developer: color = "#FFD700"; break; //Gold
case AccessLevel.Owner: color = "#FFD700"; break; //Gold
}
list.Add( 1060658, "{0}\t{1}", "Staff", String.Format("<BASEFONT COLOR={0}>{1}", color, AccessLevel) );
}[/COLOR]
when its done it should say Staff : (access level) under the players name