17.01.2017, 11:55
new NewName [MAX_PLAYERS] [128];
new query[150];
mysql_format(g_Sql, query, sizeof(query), "UPDATE `users` SET `username` = '%e' WHERE `username` = '%e' LIMIT 1", NewName[giveplayerid], PlayerName(giveplayer));// ERROR HERE
mysql_query(g_Sql, query);
format(string, sizeof(string), "%s.ini", PlayerName(giveplayer));//THE SAME ERROR HERE TOO
new query[150];
mysql_format(g_Sql, query, sizeof(query), "UPDATE `users` SET `username` = '%e' WHERE `username` = '%e' LIMIT 1", NewName[giveplayerid], PlayerName(giveplayer));// ERROR HERE
mysql_query(g_Sql, query);
format(string, sizeof(string), "%s.ini", PlayerName(giveplayer));//THE SAME ERROR HERE TOO