23.03.2015, 03:50
Hello,
I added admin prefix to the names of admins with this code
How can I do so that a command can hide this prefix?
I added admin prefix to the names of admins with this code
Код:
OnPlayerText if(PlayerInfo[playerid][pAdmin] == 1) { new pname[MAX_PLAYER_NAME], string2[560 + MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof(pname)); format(string2, sizeof(string2), "[Admin] %s: %s", pname, text); SendClientMessageToAll(COLOR_WHITE, string2);