Argument mismatch problem - 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: Argument mismatch problem (
/showthread.php?tid=596129)
Argument mismatch problem -
DilleeFTW - 12.12.2015
I have a problem, i get this error yq10571.pwn(2395) : error 035: argument type mismatch (argument 1)
Line 2395 is mysql_query(SQL ,var);
and all the content is
public HUpdate(hid, type)
{
new var[256];
switch(type)
{
case hExitxx:
{
format(var, sizeof(var), "UPDATE `houses` SET `Exitx`='%f' WHERE `ID`='%d'",HouseInfo[hid][hExitx], hid);
mysql_query(SQL ,var);
}
help me with this error pls !!!
Re: Argument mismatch problem -
saffierr - 12.12.2015
I don't know which line (2395) is but I assume it is the
Change it to
And again, I am not quite sure if that is the problem, just an assuming.
Re: Argument mismatch problem -
DRIFT_HUNTER - 12.12.2015
mysql_query(var);
Re: Argument mismatch problem -
DilleeFTW - 13.12.2015
Quote:
Originally Posted by saffierr
I don't know which line (2395) is but I assume it is the Change it to And again, I am not quite sure if that is the problem, just an assuming.
|
Line 2395 is mysql_query(SQL ,var)
Re: Argument mismatch problem -
DilleeFTW - 13.12.2015
Problem is the same.
http://www42.zippyshare.com/v/mLZ3cdLB/file.html this is the pwn, please someone fix the problems.