SA-MP Forums Archive
[Help] 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] Text (/showthread.php?tid=92954)



[Help] Text - borisblat - 22.08.2009

when i do
if(strcmp(text, "Admin, true) == 0)
{
.....

}

the server will reacts to the "Admin" text, if i will wrie it on the text,
but if i write Admin a, or any other worlds/letters after the admin word,
it doesn't reacts.. how can i do that it will?

thanks,


Re: [Help] Text - Correlli - 22.08.2009

Use strfind function.