13.07.2014, 11:39
Код:
SQL query: //--------------------------------[ FUNCTIONS ]--------------------------- PinLogin(playerid) { new string[128]; MySQL said: Documentation #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '//--------------------------------[ FUNCTIONS ]--------------------------- P' at line 1
Код:
ilevel = GetPVarInt(extraid, "Offline_Famed"); GetPVarString(extraid, "Offline_Name", szName, MAX_PLAYER_NAME); #1064 format(szQuery, sizeof(szQuery), "UPDATE `accounts` SET `Famed` = %d WHERE `Username` = '%s'", ilevel, szName); mysql_function_query(MainPipeline, szQuery, false, "OnQueryFinish", "i", SENDDATA_THREAD);