lumberjack.pwn(183) : 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: lumberjack.pwn(183) : error 035: argument type mismatch (argument 1) (
/showthread.php?tid=587905)
lumberjack.pwn(183) : error 035: argument type mismatch (argument 1) -
Sn4ke2 - 03.09.2015
PHP код:
stock SaveMine()
{
new string[200];
format(string,sizeof(string),"INSERT INTO mine (cutt) VALUES (%d)", cutt);
mysql_query(string);
return 1;
}
What are wrong ?
Re: lumberjack.pwn(183) : error 035: argument type mismatch (argument 1) -
bgedition - 03.09.2015
Which line is 183?
AW: lumberjack.pwn(183) : error 035: argument type mismatch (argument 1) -
Kaliber - 03.09.2015
mysql_query needs at first the id of the mysql_connect request..sth like:
PHP код:
mysql_query(id, string);