SA-MP Forums Archive
error 035: argument type mismatch (argument 3) - 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: error 035: argument type mismatch (argument 3) (/showthread.php?tid=663360)



error 035: argument type mismatch (argument 3) - p3p4 - 29.01.2019

Help


Quote:

mysql_format(SQLHandle, query, sizeof(query), "SELECT * FROM housekeys WHERE Player='%e'", Player_GetName(playerid));




Re: error 035: argument type mismatch (argument 3) - NoorMustafa123 - 29.01.2019

read this carefully:
https://sampforum.blast.hk/showthread.php?tid=310429


Re: error 035: argument type mismatch (argument 3) - Calisthenics - 29.01.2019

R6 and R7 versions:
pawn Код:
native mysql_format(connectionHandle, output[], format[], {Float,_}:... );
3rd argument is not the length of the query, it was changed for R33 and R40.


Re: error 035: argument type mismatch (argument 3) - fiki574 - 29.01.2019

Basically

Код:
mysql_format(SQLHandle, query, "SELECT * FROM housekeys WHERE Player='%e'", Player_GetName(playerid));