05.08.2011, 11:51
pawn Код:
#include "a_samp"
public OnPlayerText(playerid, text[])
{
if PlayerInfo[playerid][pNMuted])
{
SendClientMessage(playerid,0xFF0000,"ERROR: You are muted!");
return false;
}
new pname[24], str[128];
GetPlayerName(playerid, pname, 24);
format(str, sizeof(str), "%s Says: %s", pname, text);
ProxDetector(10.0, playerid, str, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
return false;
}