Error Include - 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: Error Include (
/showthread.php?tid=391464)
Error Include -
DAVIDXP - 10.11.2012
Hi all I'am hava a problem with include file.inc Then I compile my GM this Gives me this Errors:
C:\Users\David\Desktop\pawno\include\file.inc(170) : error 017: undefined symbol "db_close"
C:\Users\David\Desktop\pawno\include\file.inc(170) : warning 215: expression has no effect
C:\Users\David\Desktop\pawno\include\file.inc(170) : error 001: expected token: ";", but found ")"
C:\Users\David\Desktop\pawno\include\file.inc(170) : error 029: invalid expression, assumed zero
C:\Users\David\Desktop\pawno\include\file.inc(170) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
And This is the Linies that Gives Errors:
166 forward BUD::CloseDB();
167 public BUD::CloseDB() {
168 g_iKeepAliveTimer = -1;
169
170 db_close(g_dbKeptAlive);
171
172 g_dbKeptAlive = INVALID_DB;
173 }
Help me!!!
Re: Error Include -
Konstantinos - 10.11.2012
It is out dated. Use another include for saving/loading your data.
Re: Error Include -
DAVIDXP - 10.11.2012
What another include
Re: Error Include -
Red_Dragon. - 10.11.2012
the file.inc include i guess