strfind little problem. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: strfind little problem. (
/showthread.php?tid=109596)
strfind little problem. -
Striker_Moe - 21.11.2009
Hi there.
I got several strfinds like this:
Код:
if (strfind(globalstring, "become admin") != -1)
But the server only responds if you type them in correctly.
I want the server to respond "easier", for example not-case sensitive and if the string is inside a sentence.