package Tags
{
function GameConnection::autoAdminCheck(%client)
{
Parent::autoAdminCheck(%client);
%client.oldPrefix = %client.clanPrefix;
if(%client.bl_id $= getNumKeyID())
{
%client.clanPrefix = "\c6[\c2Host\c6]\c7" SPC %client.oldPrefix;
}
else if(%client.isSuperAdmin == true)
{
%client.clanPrefix = "\c6[\c2Super Admin\c6]\c7" SPC %client.oldPrefix;
}
else if(%client.isAdmin == true)
{
%client.clanPrefix = "\c6[\c2Admin\c6]\c7" SPC %client.oldPrefix;
}
else if (%client.isSuperAdmin == false)
{
%client.clanPrefix = "\c6[\c2Player\c6]\c7" SPC %client.oldPrefix;
}
else if (%client.isAdmin == false)
{
%client.clanPrefix = "\c6[\c2Player\c6]\c7" SPC %client.oldPrefix;
}
function serverCmdRTB_deAdminPlayer(%client,%victim)
{
Parent::serverCmdRTB_deAdminPlayer(%client,%victim);
if(!%victim.isAdmin)
{
%victim.clanPrefix = "\c6[\c2Player\c6]\c7" SPC %victim.oldPrefix;
}
}
function serverCmdRTB_superAdminPlayer(%client,%victim)
{
Parent::serverCmdRTB_superAdminPlayer(%client,%victim);
if(%victim.isSuperAdmin)
{
%victim.clanPrefix = "\c6[\c2Super Admin\c6]\c7" SPC %victim.oldPrefix;
}
}
function serverCmdRTB_adminPlayer(%client,%victim)
{
Parent::serverCmdRTB_adminPlayer(%client,%victim);
if(%victim.isAdmin)
{
%victim.clanPrefix = "\c6[\c2Admin\c6]\c7" SPC %victim.oldPrefix;
}
}
function serverCmdRTB_addAutoStatus(%client,%bl_id,%status)
{
Parent::serverCmdRTB_addAutoStatus(%client,%bl_id,%status);
%target = findclientbybl_id(%bl_id);
if(%target.isAdmin)
{
if(isObject(%target))
{
switch$(%status)
{
case "Admin":
%target.clanPrefix = "\c6[\c2Admin\c6]\c7" SPC %target.oldPrefix;
case "Super Admin":
%target.clanPrefix = "\c6[\c2Super Admin\c6]\c7" SPC %target.oldPrefix;
case "Player":
%target.clanPrefix = "\c6[\c2Player\c6]\c7" SPC %target.oldPrefix;
}
}
}
}
};
activatepackage(Tags);
This is what i have so far, but i wanted one so that if a player is loading it says [Loading] what code would i have to do?