01.10.2015, 10:53
Sure, your account check works, now you need to do the same with your MYSQL_Login, I would suggest removing that function as calling a function just to call a query is kinda useless, instead everytime you wanna login you can query this, and load all your player info on AccountLogin callback
PHP код:
mysql_format(mConnectionHandle, query, sizeof(query), "SELECT * FROM `players` WHERE Username = '%e' LIMIT 1", pname);
mysql_tquery(mConnectionHandle, query, "AccountLogin", "d", playerid);