14.05.2012, 19:29
So, I have create registration system based on mysql, the script works fine, but there's a problem in one query:
1. Someone creates account with name TEST, everything is okay.
2. Then, someone connects with name TesT, and he will dont need to register, he will need to login and all data will be set on this account from account TEST.
Query to check is player registered:
Thank you in advance.
1. Someone creates account with name TEST, everything is okay.
2. Then, someone connects with name TesT, and he will dont need to register, he will need to login and all data will be set on this account from account TEST.
Query to check is player registered:
pawn Код:
mysql_format(_, szQuery, "SELECT `Name` FROM `players` WHERE `Name` = '%e'", GetPlayerNameEx(playerid));