22.04.2012, 02:36
Yes, if you return 0 under OnPlayerText it will not send the chat:
pawn Код:
public OnPlayerText(playerid, text[])
{
if(strfind(text, "fuck you", true) != -1 || strfind(text, "fuck u", true) != -1)
{
ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0, 0);
return 0;
}
return 1;
}