Quote:
Originally Posted by (.Aztec);
pawn Code:
OnPlayerText(playerid, text[]) { if(strcmp(text, "fuck", true) == 0) { new string[128], playerName[MAX_PLAYER_NAME]; GetPlayerName(playerid, playerName, sizeof(playerName)); format(string, sizeof(string), "%s: ****", playerName); SendClientMessageToAll(YOURCHATCOLOR, string); } return 1; }
|
that works only if I just write fuck... but I want it to work if I write "fuck you", too, etc..