mysql_query - 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_query (
/showthread.php?tid=494021)
mysql_query -
MatriXgaMer - 11.02.2014
Hey i am making my register and login system with my_sql and i got this error
pawn Код:
C:\Users\matRixgameR\Desktop\Pawno\gamemodes\HardRolePlay.pwn(81) : error 035: argument type mismatch (argument 1)
Line 81:
I have newed query[300];
Re: mysql_query -
Konstantinos - 11.02.2014
If you use R33+, then the parameters are:
pawn Код:
mysql_query(conhandle, query[], bool:use_cache = true)
which means the first parameter is integer and not an array (string).
Open a_mysql.inc and search for mysql_query line and check the parameters.