SA-MP Forums Archive
errors in gm file - 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: errors in gm file (/showthread.php?tid=618868)



errors in gm file - ImTouchk - 10.10.2016

Code:
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(131) : error 017: undefined symbol "mysql_log"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(169) : error 017: undefined symbol "mysql_exit"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(187) : error 035: argument type mismatch (argument 3)
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(188) : error 017: undefined symbol "mysql_tquery"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(213) : error 035: argument type mismatch (argument 3)
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(214) : error 017: undefined symbol "mysql_tquery"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(239) : error 035: argument type mismatch (argument 3)
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(240) : error 017: undefined symbol "mysql_tquery"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(256) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(257) : error 017: undefined symbol "cache_get_field_content_int"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(270) : error 017: undefined symbol "cache_get_field_content_int"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(271) : error 017: undefined symbol "cache_get_field_content_int"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(272) : error 017: undefined symbol "cache_get_field_content_int"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(273) : error 017: undefined symbol "cache_get_field_content_int"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(274) : error 017: undefined symbol "cache_get_field_content_int"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(276) : error 017: undefined symbol "cache_get_field_content_int"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(277) : error 017: undefined symbol "cache_get_field_content_int"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(278) : error 017: undefined symbol "cache_get_field_content_float"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(279) : error 017: undefined symbol "cache_get_field_content_float"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(280) : error 017: undefined symbol "cache_get_field_content_float"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(281) : error 017: undefined symbol "cache_get_field_content_float"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(296) : error 017: undefined symbol "cache_insert_id"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(315) : error 035: argument type mismatch (argument 3)
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(317) : error 017: undefined symbol "mysql_tquery"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(371) : warning 203: symbol is never used: "engine"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1131) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1160) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1163) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1163) : error 032: array index out of bounds (variable "FactionInfo")
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1189) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1250) : warning 219: local variable "ID" shadows a variable at a preceding level
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1250) : warning 203: symbol is never used: "ID"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1250 -- 1279) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1285) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1289) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1295) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1309) : warning 219: local variable "ID" shadows a variable at a preceding level
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1309) : warning 203: symbol is never used: "ID"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1666) : warning 203: symbol is never used: "incercari"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


24 Errors.
hello all , i'm getting these errors. I've typed #include <a_mysql> at the top of page but I don't know why i'm getting this, i tried to resolve single but i don't know how
http://pastebin.com/mTnYqaN1 here's my script
THANKS!


Re: errors in gm file - Konstantinos - 10.10.2016

Wrong a_mysql.inc file, you are trying to compile with an older version.

https://github.com/pBlueG/SA-MP-MySQ...ases/tag/R39-6

And it's mysql_close instead of mysql_exit.


Re: errors in gm file - ChristolisTV - 10.10.2016

Updating mysql as Konstantinos said may solve the problem.


Re: errors in gm file - ImTouchk - 10.10.2016

Quote:
Originally Posted by Konstantinos
View Post
Wrong a_mysql.inc file, you are trying to compile with an older version.

https://github.com/pBlueG/SA-MP-MySQ...ases/tag/R39-6

And it's mysql_close instead of mysql_exit.
Thanks a lot for all who helped me. I don't saw this update
Now I've got some errors but I will resolve it without your help, I want to learn.