danke werds mal ausprobieren
//edit: also es klappt zum teil.
also ich habe folgendes:
new warnwords[] = {"Deine Mama","Deine Mutter","Deine mudda","Deine mudder","dein vadder","Dein Vater","Dein vadda","Dein papa","Deine oma","dein opa"};
public OnPlayerText(playerid, text[])
{
if(strfind(text,warnwords,true,0) != -1)
{
new string[256],name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"[WARNING][BELEIDIGUNG] %s(%d): %s", name,playerid,text);
for(new i=0; i<MAX_PLAYERS; i++)
{
if(SpielerInfo[i][alvl] >= 1)
{
SendClientMessage(i,0x0000FFFF,string);
}
}
}
return 1;
}
der erkennt nur deine mutter, die anderen nicht ;D