05.06.2014, 11:13
(
Последний раз редактировалось Matess; 05.06.2014 в 12:52.
)
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;
}