07.06.2012, 11:01
pawn Code:
public OnPlayerText(playerid, text[])
{
if(HelperChat[playerid] == 1)
{
if(playerid == Helper)
{
format(str,sizeof(str),"[HelperChat] Helper %s[%d]: %s",GetName(playerid),playerid,text);
}
else
{
format(str,sizeof(str),"[HelperChat] Player %s[%d]: %s",GetName(playerid),playerid,text);
}
SendClientMessage(Player,Orange,str);
SendClientMessage(Helper,Orange,str);
return 0;
}