Posts: 140
Threads: 49
Joined: Jul 2008
Reputation:
0
Is it possible to make admins receive a yellow tag like [M] in front of their name, but the rest of their name stays white?.
If so how would I create the tag for admins and the color for the tag?
Posts: 384
Threads: 20
Joined: Mar 2008
Reputation:
0
You can't have two colors, but you can put the [M] in front of their name providing their other name isn't too long. Just GetPlayerName, format it in with a [M] in front and SetPlayerName
Posts: 64
Threads: 5
Joined: Jun 2009
Reputation:
0
As lavamike said, you can't have 2 colors.
But to make it a tag just say
new name[MAX_PLAYER_NAME], str[MAX_PLAYER_NAME+3]; // str[MAX_PLAYER_NAME+4] is if you want the tag like you said [M] PlayerNameHere
GetPlayerName(playerid, name, sizeof(name));
format(str, sizeof(str), "[M] %s", name);
Posts: 1,843
Threads: 8
Joined: Nov 2008
Reputation:
0
Or make it so they do a command like /duty and their colour changes while their on duty. Then do /offduty too change their colour back. No I do not know how too make a duty function, this is just an idea.