Problem with change nickname color
#4

Isn't this much better?
pawn Код:
CMD:bosscolor(playerid, params[])
{
    if(PlayerAcc[playerid][Log] == 0) return SendClientMessage(playerid, COLOR_RED, "** You are not logged in, please login first.");
    //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.");
    PlayerAcc[playerid][UseColor] = 1;
    PlayerAcc[playerid][SaveColor] = COLOR_BOSS;
    return 1;
}
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)