19.05.2014, 07:43
Like This (?) :-
pawn Код:
public OnPlayerText(playerid, text[])
{
if(IsPlayerAdmin(playerid))
{
new pName[MAX_PLAYER_NAME], String[128];
GetPlayerName(playerid, pName, 24);
format(String, sizeof(String), ""COLOR_RED"[Admin] %s: "COLOR_BLACK"%s", pName, text);
SendClientMessageToAll(-1,String);
return 0;
}
return 1;
}