SA-MP Forums Archive
1 error. Fix please? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 1 error. Fix please? (/showthread.php?tid=137986)



1 error. Fix please? - Will77 - 30.03.2010

Ahaha, found the error, whats the fix please?

C:\Documents and Settings\Owner\My Documents\SAMP Server\gamemodes\BaseServer.pwn(12) : fatal error 100: cannot read from file: "dudb"

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


1 Error.



Re: 1 error. Fix please? - Fabio11 - 30.03.2010

Add the include "dudb.inc" to your includes folder


Re: 1 error. Fix please? - Will77 - 30.03.2010

I dont have it...


Re: 1 error. Fix please? - Fabio11 - 30.03.2010

Click Here


Re: 1 error. Fix please? - Will77 - 30.03.2010

C:\Documents and Settings\Owner\My Documents\SAMP Server\pawno\include\dudb.inc(25) : fatal error 100: cannot read from file: "dutils"

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


1 Error.



Re: 1 error. Fix please? - Fabio11 - 30.03.2010

DUtils Dini


Re: 1 error. Fix please? - Will77 - 30.03.2010

Holy shit.

C:\Documents and Settings\Owner\My Documents\SAMP Server\gamemodes\BaseServer.pwn(122) : warning 217: loose indentation
C:\Documents and Settings\Owner\My Documents\SAMP Server\gamemodes\BaseServer.pwn(123) : warning 217: loose indentation
C:\Documents and Settings\Owner\My Documents\SAMP Server\gamemodes\BaseServer.pwn(132) : warning 217: loose indentation
C:\Documents and Settings\Owner\My Documents\SAMP Server\gamemodes\BaseServer.pwn(144) : error 021: symbol already defined: "OnPlayerDeath"
C:\Documents and Settings\Owner\My Documents\SAMP Server\gamemodes\BaseServer.pwn(167) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Documents and Settings\Owner\My Documents\SAMP Server\gamemodes\BaseServer.pwn(227) : warning 217: loose indentation
C:\Documents and Settings\Owner\My Documents\SAMP Server\gamemodes\BaseServer.pwn(241) : warning 217: loose indentation
C:\Documents and Settings\Owner\My Documents\SAMP Server\gamemodes\BaseServer.pwn(256) : warning 217: loose indentation
C:\Documents and Settings\Owner\My Documents\SAMP Server\gamemodes\BaseServer.pwn(26 : warning 217: loose indentation
C:\Documents and Settings\Owner\My Documents\SAMP Server\gamemodes\BaseServer.pwn(274) : warning 217: loose indentation
C:\Documents and Settings\Owner\My Documents\SAMP Server\gamemodes\BaseServer.pwn(289) : warning 217: loose indentation
C:\Documents and Settings\Owner\My Documents\SAMP Server\gamemodes\BaseServer.pwn(341) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: 1 error. Fix please? - ScottCFR - 30.03.2010

At the top put

Код:
forward OnPlayerPrivmsg();
forward OnPlayerInfoChange();
Then find OnPlayerDeath (The second one) delete it.

Fix the indentations.