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



error 035: argument type mismatch (argument 1) - fastayko - 05.01.2017

I get this error: error 035: argument type mismatch (argument 1)
new queryy[200] ;
format(queryy, sizeof(queryy), "INSERT INTO playerdata (user, money) VALUES('%s', %d')",PlayerName(playa) , health);
mysql_query(queryy);//Error here


Re: error 035: argument type mismatch (argument 1) - GoldenLion - 05.01.2017

https://sampforum.blast.hk/showthread.php?tid=625715


Re: error 035: argument type mismatch (argument 1) - fastayko - 05.01.2017

how do i get handle from mysql_connect ?


Re: error 035: argument type mismatch (argument 1) - GoldenLion - 05.01.2017

https://sampwiki.blast.hk/wiki/MySQL/R40#mysql_connect


Re: error 035: argument type mismatch (argument 1) - fastayko - 05.01.2017

Thx it's working +rep