11.12.2014, 20:36
One more thing, when I active the command i made.. which gives me color, it shows it on the map icon..
how to cancel that?
I want that people will just see the name in diffrend color, I dont want them to see this color on map..
how to cancel that?
I want that people will just see the name in diffrend color, I dont want them to see this color on map..
Код:
CMD:vipcolor(playerid, params[]) {
if(PlayerInfo[playerid][pDonator] >= 1)
{
if(IsACop(playerid) || PlayerInfo[playerid][pFaction] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pFaction] == 9 || PlayerInfo[playerid][pLeader] == 9 || PlayerInfo[playerid][pFaction] == 6 || PlayerInfo[playerid][pLeader] == 6)
{
SendClientMessage(playerid, COLOR_WHITE, "You can't use this command while in a Faction.");
return 1;
}
if(PlayerInfo[playerid][pVIPDuty])
{
PlayerInfo[playerid][pVIPDuty] = 0;
SetPlayerToTeamColor(playerid);
SendClientMessage(playerid, COLOR_WHITE, "You have hidden your VIP color.");
}
else
{
PlayerInfo[playerid][pVIPDuty] = 1;
SetPlayerColor(playerid, 0xB2DDEBAA);
SendClientMessage(playerid, COLOR_WHITE, "You have shown your VIP color.");
}
}
return 1;
}

