26.07.2016, 18:25
Quote:
|
playerid is the playerid.
Код:
format(string,sizeof(string),"%s %i",PlayerName,playerid); |
Try this
Код:
//Includes name color too >>
if(IsPlayerMuted(playerid))
{
new string[150];
format(string, sizeof(string), "{%06x}%s(%d): %s", GetPlayerColor(playerid) >>> 8, GetName(playerid), playerid, text);
SendCLientMessageToAll(0xFFFFFFFF, string);
return 0; //Prevents dubble message
}

