Getting parts of the text of OnPlayerText
#1

Hi there.

I need to know - how can I get specific parts of the text the players enter? Like.. if someone types "fuck" in the chat, heґs getting a message sent saying "Same".

Thanks
Reply
#2

https://sampwiki.blast.hk/wiki/Scripting...ns_Old#strfind
Reply
#3

pawn Код:
if(strfind(text,"fuck",true)!=-1) Kick(playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)