30.04.2011, 14:45
This one may work...
Note: Don't forget to set who is an admin or not
pawn Код:
public OnPlayerText(playerid, text[]){
new txt[256];
new PName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PName);
format(txt, 256, "{0D00FF}%s {FF0000}[Admin]: {FFFFFF}%s", PName, text);
SendClientMessageToAll(txt, GetPlayerColor(playerid)); //The GetPlayerColor stuff just for adding. It doesn't really work...
return 0;
}