SA-MP Forums Archive
Converted to new MySQL included mismatch - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Converted to new MySQL included mismatch (/showthread.php?tid=662966)



Converted to new MySQL included mismatch - TheLeech - 17.01.2019

Код:
../gamemodes/Functions.pwn(38) : warning 213: tag mismatch
../gamemodes/Functions.pwn(39) : warning 213: tag mismatch
Код:
stock AdminLog(playerid,acommand[],atext[])
{
    new query[256];
	mysql_format(mysql, query, sizeof(query), "INSERT INTO `adminclog` (`Name`, `AdminName`, `CommandName`, `Text`) VALUES ('%e', '%s', '%s', '%s')", PlayerInfo[playerid][Name], PlayerInfo[playerid][AdminName], acommand, atext);//line 38
	mysql_query(mysql, query);//line 39
    return 1;
}



Re: Converted to new MySQL included mismatch - Banditul18 - 17.01.2019

PHP код:
new MySQLmysql
Instead of what you have. Also use mysql_tquery