08.12.2017, 17:14
Hello guys! I have problem with mysql. I changed load/save system from yini to mysql and now mysql load system dont working.. On OnPlayerConnect public i put this
print("LOAD #1");
new query[128];
print("LOAD #1 #1");
mysql_format( _dbConnector, query, sizeof(query), "SELECT `user_id`, `password`, `registered` FROM `users` WHERE `p_name` = '%e' LIMIT 1", GetNameEx( playerid ) );
print("LOAD #1 #2");
mysql_pquery( _dbConnector, query, "CheckPlayerAccount", "i", playerid );
print("LOAD #1 END");
and then i check with the print.. It goes to the LOAD #1 END but nothing.. mysql_pquery must call function CheckPlayerAccount but it doesent
P.S I use mysql r41-4
print("LOAD #1");
new query[128];
print("LOAD #1 #1");
mysql_format( _dbConnector, query, sizeof(query), "SELECT `user_id`, `password`, `registered` FROM `users` WHERE `p_name` = '%e' LIMIT 1", GetNameEx( playerid ) );
print("LOAD #1 #2");
mysql_pquery( _dbConnector, query, "CheckPlayerAccount", "i", playerid );
print("LOAD #1 END");
and then i check with the print.. It goes to the LOAD #1 END but nothing.. mysql_pquery must call function CheckPlayerAccount but it doesent
P.S I use mysql r41-4

