11.12.2014, 20:46
Hello, I made a VIP color for the VIP members..
now.. when they tog the color everyone can see them on the minimap.. but I just want
that their color will be seen above their names and in TAB.. without seeing it on the MiniMap..
How to?
You may see on the picture the light blue color..
How to remove it from the map? I just want to see the player's name colored and over "TAB".. I don't want it to be shown in the mini map..
now.. when they tog the color everyone can see them on the minimap.. but I just want
that their color will be seen above their names and in TAB.. without seeing it on the MiniMap..
How to?
Код:
CMD:vipcolor(playerid, params[]) { if(PlayerInfo[playerid][pDonator] >= 1) { if(GetPVarInt(playerid, "EventToken") == 1) { SendClientMessage(playerid, COLOR_WHITE, "You can't use this command while in an event."); } 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; SetPlayerColor(playerid, 0xFFFFFFAA); SendClientMessage(playerid, COLOR_WHITE, "You have hidden your VIP color."); } else { PlayerInfo[playerid][pVIPDuty] = 1; SetPlayerColor(playerid, 0xA2E3E8AA); SendClientMessage(playerid, COLOR_WHITE, "You have shown your VIP color."); } } return 1; }
You may see on the picture the light blue color..
How to remove it from the map? I just want to see the player's name colored and over "TAB".. I don't want it to be shown in the mini map..