23.01.2015, 16:15
Is this possible to set letter before name
examle
[M]Name
examle
[M]Name
public OnPlayerText(playerid, text[])
{
new string[128], playername[MAX_PLAYER_NAME];
new color = GetPlayerColor(playerid);
GetPlayerName(playerid, playername, sizeof(playername));
format(string, sizeof(string), "[M]%s: {FFFFFF}%s", playername, text);
SendClientMessageToAll(color,string);
return 0;
}
new name[MAX_PLAYER_NAME], string[24+MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "[M]%s", name); SetPlayerName(playerid, string);