04.05.2012, 13:09
This is what i have now
if(Player[playerid][AdminDuty] == 1)
{
if(strlen(Player[playerid][AdminName]) >= 1 || strcmp(Player[playerid][AdminName], "Nothing", true) == 0)
{
SendClientMessage(playerid, WHITE, "You are now on admin duty. You will appear on the /admins list and you'll be able to view reports.");
Player[playerid][AdminDuty] = 1;
if(Player[playerid][AdminLevel] >= 3)
{
SetPlayerHealth(playerid, 500000);
}
format(Player[playerid][NormalName], 255, "%s", GetName(playerid));
SetPlayerName(playerid, Player[playerid][AdminName]);
SetPlayerSkin(playerid, Player[playerid][AdminSkin]);
SetPlayerColor(playerid, ADMINBLUE );
There is also no Warnings or errors but it still won't change the playerid colour when i go onto adminduty.....
if(Player[playerid][AdminDuty] == 1)
{
if(strlen(Player[playerid][AdminName]) >= 1 || strcmp(Player[playerid][AdminName], "Nothing", true) == 0)
{
SendClientMessage(playerid, WHITE, "You are now on admin duty. You will appear on the /admins list and you'll be able to view reports.");
Player[playerid][AdminDuty] = 1;
if(Player[playerid][AdminLevel] >= 3)
{
SetPlayerHealth(playerid, 500000);
}
format(Player[playerid][NormalName], 255, "%s", GetName(playerid));
SetPlayerName(playerid, Player[playerid][AdminName]);
SetPlayerSkin(playerid, Player[playerid][AdminSkin]);
SetPlayerColor(playerid, ADMINBLUE );
There is also no Warnings or errors but it still won't change the playerid colour when i go onto adminduty.....