05.08.2010, 22:58
Quote:
Could you post the code then please? All you're wanting is just the players name blue who is a cop nobody elses and not his chat messages correct?
|
The code is,
pawn Код:
dcmd_o(playerid, params[])
{
if(!strlen(params)) return
SendClientMessage(playerid, COLOR_YELLOW, "Usage: /o [chat]");
new str[256], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(str, sizeof(str), "%s: %s", pName, params);
SendClientMessageToAll(COLOR_WHITE, str);
return 1;
}