Quote:
Originally Posted by MenaceX^
pawn Код:
public OnPlayerText(playerid,text[]) { if(strfind(text,"fuck",true)!=-1) { new name[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid,name,MAX_PLAYER_NAME); format(string,sizeof(string),"%s Is A Fool.",name); SendClientMessageToAll(COLOR_GREEN,string); return 0; } // if you want the chat to be avaiable (the regular one of sa-mp) return it with 1. return 0; }
|
ok , it worked , but if i want to add another word?