SA-MP Forums Archive
Mysql Help *** + REP *** - 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 Help *** + REP *** (/showthread.php?tid=616747)



Mysql Help *** + REP *** - LondonRP - 09.09.2016

if(turfID == -1) mysql_query(MySQLPipeline, "SELECT * FROM `GangZones`", "OnLoadGangZones"); = error 035: argument type mismatch (argument 3)

mysql_query(MySQLPipeline, iQuery, "OnLoadGangZones"); = error 035: argument type mismatch (argument 3)



ALL ERRORS / WARNINGS


./assets/functions.pwn(1809) : error 035: argument type mismatch (argument 3)
./assets/functions.pwn(1814) : error 035: argument type mismatch (argument 3)
./assets/functions.pwn(2914) : error 035: argument type mismatch (argument 3)
./assets/functions.pwn(2953) : error 035: argument type mismatch (argument 3)
./assets/functions.pwn(3069) : error 035: argument type mismatch (argument 3)
./assets/functions.pwn(3259) : error 035: argument type mismatch (argument 3)
./assets/functions.pwn(3260) : error 035: argument type mismatch (argument 3)
./assets/functions.pwn(3261) : error 035: argument type mismatch (argument 3)
./assets/functions.pwn(370 : error 035: argument type mismatch (argument 3)
./assets/functions.pwn(3709) : error 035: argument type mismatch (argument 3)
./assets/functions.pwn(4189) : error 035: argument type mismatch (argument 3)
./assets/functions.pwn(4614) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(86) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(94) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(102) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(110) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(112) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(114) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(122) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(132) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(137) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(146) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(154) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(809) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(832) : error 035: argument type mismatch (argument 3)
./assets/publicfunctions.pwn(1023) : error 035: argument type mismatch (argument 3)

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.


can you guys tell me one way to fix them? ,should i change my includes...


Re: Mysql Help *** + REP *** - DTV - 09.09.2016

Assuming you use the latest version of MySQL, the third argument is used to specify whether to use the cache or not, so using "OnLoadGangZones" as the third argument causes an error.


Re: Mysql Help *** + REP *** - Slawiii - 10.09.2016

if you are using MySQL R6-2

change mysql_query to mysql_query_callback


Re: Mysql Help *** + REP *** - Ultraz - 10.09.2016

Try Change MySQL Plugin Version .