SA-MP Forums Archive
[HELP] Errors mysql - 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: [HELP] Errors mysql (/showthread.php?tid=555874)



[HELP] Errors mysql - Thoma - 09.01.2015

C:\Users\Admins\Desktop\CNR\pawno\include\required/cnr_mysqlresponse.inc(79) : error 017: undefined symbol "mysql_query"
C:\Users\Admins\Desktop\CNR\pawno\include\required/cnr_mysqlresponse.inc(79) : warning 215: expression has no effect
C:\Users\Admins\Desktop\CNR\pawno\include\required/cnr_mysqlresponse.inc(79) : warning 215: expression has no effect
C:\Users\Admins\Desktop\CNR\pawno\include\required/cnr_mysqlresponse.inc(79) : warning 215: expression has no effect
C:\Users\Admins\Desktop\CNR\pawno\include\required/cnr_mysqlresponse.inc(79) : warning 215: expression has no effect
C:\Users\Admins\Desktop\CNR\pawno\include\required/cnr_mysqlresponse.inc(79) : error 001: expected token: ";", but found ")"
C:\Users\Admins\Desktop\CNR\pawno\include\required/cnr_mysqlresponse.inc(79) : error 029: invalid expression, assumed zero
C:\Users\Admins\Desktop\CNR\pawno\include\required/cnr_mysqlresponse.inc(79) : fatal error 107: too many error messages on one line

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


4 Errors.


Re: [HELP] Errors mysql - mahardika - 09.01.2015

the error is in the include, not gamemode


Re: [HELP] Errors mysql - Thoma - 09.01.2015

oh sorry lol tired is all here is the include


Код:
	format(query, sizeof(query), "UPDATE playerdata SET %s WHERE playerName='%s'", statSave, playerData[spareid][playerNamee]);
	mysql_query(query, MYSQL_SAVE_DATA, spareid, connection);	<--------79			
}



Re: [HELP] Errors mysql - Thoma - 09.01.2015

no one? please


Re: [HELP] Errors mysql - mahardika - 09.01.2015

i think u should update your a_mysql include


Re: [HELP] Errors mysql - Thoma - 09.01.2015

i did and it fixed it now i have no clue where to add my database info on this gm i downloaded as it not like most gms

Cops_And_Robbers_San_Fierro_(RELEASE)_'ver:_1.2.17 ' by md5 if anyone could help me about where to add it it would be great!

would add the link but its blocked out