2021-01-25, 04:06 PM
(google translate)
I'm trying to pass the sqlite functions to a subfunction, in order to handle all query commands for sql/mysql,?but I am not able to create a simple function, I always have this type of error below, can someone help me with what I am missing?
thanks for listening!
BPR.pwn(49596) : warning 213: tag mismatch
BPR.pwn(49619) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2016, ITB CompuPhase
I'm trying to pass the sqlite functions to a subfunction, in order to handle all query commands for sql/mysql,?but I am not able to create a simple function, I always have this type of error below, can someone help me with what I am missing?
thanks for listening!
Code:
stock Mysql_Db_free_result(DB:dbd, string[]) {
?new Result = db_query(dbd, string);
?return Result;
}
new string2[150];
format(string2, sizeof(string2), "SELECT * FROM `account` WHERE `Name`='%s' AND `key`='%s'",DB_Escape(pName),DB_Escape(password));
Result?= Mysql_Db_free_result(Conection,string2);
BPR.pwn(49596) : warning 213: tag mismatch
BPR.pwn(49619) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2016, ITB CompuPhase