SA-MP Forums Archive
Searching text - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Searching text (/showthread.php?tid=310552)



Searching text - Snowman12 - 12.01.2012

Hey,

I need to find a way of searching through someones text for example:

"Admin Snowman12 is hacking"

It would send this:

"Please use /report to report hackers"

or

"fuck you admin"

it would send something like this:

"Please do not insult administrators or other players."

Anyone no of a function that could help me with this? Thanks.