Problem with change nickname color
#5

Try this :

pawn Код:
CMD:bosscolor(playerid, params[])
{
    if(PlayerAcc[playerid][Log] == 1)
    {
        PlayerAcc[playerid][UseColor] = 1;
        PlayerAcc[playerid][SaveColor] = COLOR_BOSS;
        SetPlayerColor(playerid, PlayerAcc[playerid][SaveColor]);

        if(PlayerAcc[playerid][Admin] < 9) return SendClientMessage(playerid, -1,""orange"** Sorry, only admins level 9+ can use that command!");
        SetPlayerColor(playerid, COLOR_BOSS);
        SendClientMessage(playerid, COLOR_YELLOW, "** You have succesfully changed your nickname color in the Management/Owner color.");

    } else return ErrorMessages(playerid, 7);
    return 1;
}
Works ?
Reply


Messages In This Thread
Problem with change nickname color - by mickos - 04.06.2014, 19:02
Re: Problem with change nickname color - by Konstantinos - 04.06.2014, 19:16
Re: Problem with change nickname color - by mickos - 05.06.2014, 11:06
Re: Problem with change nickname color - by Matess - 05.06.2014, 11:13
Re: Problem with change nickname color - by VenomMancer - 05.06.2014, 11:22
Re: Problem with change nickname color - by mickos - 05.06.2014, 12:33
Re: Problem with change nickname color - by Konstantinos - 05.06.2014, 12:44

Forum Jump:


Users browsing this thread: 1 Guest(s)