error 001: expected token: ",", but found ";"
#3

Try that :

Код:
function SalvareRealizari(playerid) {
	new string[256], query[256];
	format(string, sizeof(string),
		"%d|%d|%d",
		PlayerInfo[playerid][pAchievement][0], PlayerInfo[playerid][pAchievement][1], PlayerInfo[playerid][pAchievement][2]);

	format(query, sizeof(query),
		"UPDATE `users` SET `Realizari`='%s' WHERE `ID`='%d'", string, PlayerInfo[playerid][pSQLID]);
	mysql_tquery(SQL, query, "","");
	return 1;
}
Reply


Messages In This Thread
error 001: expected token: ",", but found ";" - by enzulikeS - 09.03.2018, 13:59
Re: error 001: expected token: ",", but found ";" - by wallen - 09.03.2018, 14:04
Re: error 001: expected token: ",", but found ";" - by Maximun - 09.03.2018, 14:04
Re: error 001: expected token: ",", but found ";" - by wallen - 09.03.2018, 14:08
Re: error 001: expected token: ",", but found ";" - by enzulikeS - 09.03.2018, 14:11
Re: error 001: expected token: ",", but found ";" - by Maximun - 09.03.2018, 14:16
Re: error 001: expected token: ",", but found ";" - by wallen - 09.03.2018, 14:19
Re: error 001: expected token: ",", but found ";" - by Maximun - 09.03.2018, 14:23

Forum Jump:


Users browsing this thread: 1 Guest(s)