SA-MP Forums Archive
mysql_format - 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: mysql_format (/showthread.php?tid=448184)



mysql_format - NeroX98 - 03.07.2013

Hi guys !

i have problems with mysql_format and mysql_function_query

here is the code:
pawn Код:
// ERROR LINE -> mysql_format(1,string,"SELECT * FROM `Igraci` WHERE pProfil = '%s'",plname);
    mysql_function_query(1,string,false,"CheckAccountExists","s",plname);
and I get this error:
Код:
error 035: argument type mismatch (argument 3)



Re: mysql_format - Vince - 03.07.2013

pawn Код:
native mysql_format(connectionHandle, output[], len, format[], {Float,_}:...);
Checking the parameters might just help.


Re: mysql_format - Luis- - 03.07.2013

Using format would be much faster.