26.09.2011, 05:43
(
Последний раз редактировалось [HiC]TheKiller; 26.09.2011 в 08:14.
)
pawn Код:
#include <a_samp>
new BadWords[][] =
{
"Fuck",
"Shit",
"Dick",
"Cunt"
};
public OnPlayerText(playerid, text[])
{
for( new x; x< sizeof(BadWords) - 1; x++)
{
if(strfind(text, BadWords[x], true) != -1)
{
SendClientMessage(playerid, -1, "Don't swear / flame");
return 0;
}
}
return 1;
}