Thread: Become VIP Plus
View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-24-2020 , 08:19   Re: Become VIP Plus
Reply With Quote #61

Quote:
Originally Posted by HamletEagle View Post
PHP Code:
strtolower(g_ePlayerData[id][Info]) 
Why are you doing that when saving by name? If 2 names differ only in lowercase/uppercase then you just messed the saving for this 2 players.

That's all that popped up in the whole 5 minutes I took to read the sma.
Since the game doesn't allow 2 players with the same name (e.g. Player and PlayeR isn't valid), plus admins in users.ini are usually added without the case-sensitive flag "k", I think it's better to save data case-insensitively.

Players often tend to change the case in their names and pretty much most of the times it is the same player, so there's no need for this plugin to prevent them from doing so.
__________________

Last edited by OciXCrom; 01-24-2020 at 08:20.
OciXCrom is offline
Send a message via Skype™ to OciXCrom