Quote:
Originally Posted by forgottenkings
Here it is
pawn Код:
public OnPlayerText(playerid, text[]) { if(!strcmp(text, "OMG", true)) { SendPlayerMessageToAll(playerid, "Oh My God"); return 0; } return 1; }
|
This wont show which player had typed "OMG" And support if you don't have anti spam player may do "OMG" again and again and your full server chat is wrecked.
Just use
SendClientMessage.