> OnPlayerText
#1

How to make if player type something like "fuck" to he get message " you are not allowed to say that "

?
Reply
#2

I think this will work for you

pawn Код:
if (text[strlen(text)-1] == 'fuck')
{
      SendClientMessage(playerid, COLOR_RED, "You are not allowed to say that word.");
}
Reply
#3

thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)