SA-MP Forums Archive
TAG MISTMATCH! - 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: TAG MISTMATCH! (/showthread.php?tid=620574)



TAG MISTMATCH! - MoldovaFTW - 31.10.2016

Код:
C:\Users\eugen_000\Desktop\Server\gamemodes\pgrpmain.pwn(97080) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
This is pgrpmain.pwn

Код:
97080:	mysql_log(SQL_DEBUG | SQL_DEBUGLOG);
97081:  MainPipeline = mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);



Re: TAG MISTMATCH! - Micko123 - 31.10.2016

my_sql log is written like this
PHP код:
mysql_log(ERROR DEBUG); 
Remove that SQL_


Re: TAG MISTMATCH! - MoldovaFTW - 31.10.2016

still to put : my_log ?


Re: TAG MISTMATCH! - Micko123 - 31.10.2016

Try this
PHP код:
mysql_log(DEBUG DEBUGLOG); 



Re: TAG MISTMATCH! - MoldovaFTW - 31.10.2016

still
Код:
C:\Users\eugen_000\Desktop\Server\gamemodes\PGRPmain.pwn(97080) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.



Re: TAG MISTMATCH! - saffierr - 31.10.2016

Have you done this under OnGameModeInIt ?


Re: TAG MISTMATCH! - NeXoR - 31.10.2016

Where you define MainPipeline
Instead of:
new MainPipeline;
do:
new MySQL:MainPipeline;
Quote:

MainPipeline = mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);




Re: TAG MISTMATCH! - MoldovaFTW - 31.10.2016

yep!


Re: TAG MISTMATCH! - MoldovaFTW - 31.10.2016

neXoR.. there is no problem in MainPipeline.. but ->

Код:
97080:	mysql_log(SQL_DEBUG | SQL_DEBUGLOG);
97081:  MainPipeline = mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);



Re: TAG MISTMATCH! - Micko123 - 31.10.2016

Dude write this
PHP код:
mysql_log(ERROR); 
If it gives you warning or error something needs to be updated