SA-MP Forums Archive
Help pls - 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 pls (/showthread.php?tid=173771)



Help pls - keller012 - 03.09.2010

I wonder how I block a player to enter but not nicks like equals.
Example:

I create an account nick Keller
and then I will come in with an account nick KELLER

how do I block it?
How do the system identify the letters case-sensitive?


Re: Help pls - [XST]O_x - 03.09.2010

Strcmp.

strcmp(const string1[], const string2[], bool:ignorecase, length)

Quote:
Originally Posted by wiki.sa-mp.com
ignorecase (optional) When set to true, the case doesn't matter - HeLLo is the same as Hello. When false, they're not the same.



Re: Help pls - keller012 - 03.09.2010

but where would I put this to prevent the entry of nicks that way?