SA-MP Forums Archive
y_ini case sensitive on linux? - 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: y_ini case sensitive on linux? (/showthread.php?tid=528170)



y_ini case sensitive on linux? - martoivanov - 26.07.2014

I have problems with the usernames of my players. There can be for example Mike, MIKE,MiKE. How to make the system case sensitive?


Re: y_ini case sensitive on linux? - [KHK]Khalid - 26.07.2014

In case of using Strcmp: https://sampwiki.blast.hk/wiki/Strcmp - check the 'ignorecase' parameter!


Re: y_ini case sensitive on linux? - NaClchemistryK - 26.07.2014

He is asking to make the copying stuff case sensitive, I think.
And If you really just want to check the names, the ignorecase of the strcmp can help, as said above


Re: y_ini case sensitive on linux? - martoivanov - 26.07.2014

I want when a person connects with a nick Mike or MIKE or MiKE and one of them is registered to go to the login dialog
I want to remove case sensitive
How can this happen?


Re: y_ini case sensitive on linux? - Vince - 26.07.2014

Store everything in lower case to begin with. So if someone name 'Mike' joins, convert it to lower case 'mike' and use that as base filename.


Re: y_ini case sensitive on linux? - martoivanov - 26.07.2014

Did i need to delete all registrations because they are not all in lower case?