[HELP]How To Fix It? - 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: [HELP]How To Fix It? (
/showthread.php?tid=122286)
[HELP]How To Fix It? -
Mochi15 - 21.01.2010
Hi.
i need help to compile a FS i need fix tis errors
Код:
C:\DOCUME~1\ADMINI~1\ESCRIT~1\DESCAR~1\DISTRE~1\rules.pwn(22) : error 017: undefined symbol "ShowPlayerDialog"
C:\DOCUME~1\ADMINI~1\ESCRIT~1\DESCAR~1\DISTRE~1\rules.pwn(25) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: [HELP]How To Fix It? -
[HiC]TheKiller - 21.01.2010
Update your sa-mp includes.
Re: [HELP]How To Fix It? -
Mochi15 - 21.01.2010
i have the sa-mp 0.3 includes
Re: [HELP]How To Fix It? -
Calgon - 21.01.2010
Evidently you've either not included the new 0.3 includes, as you wouldn't be getting this error.
Re: [HELP]How To Fix It? -
Babul - 21.01.2010
i doubt that any function gets called at the very top of a script.
please post your lines where those erroes occur, then we can help better...
Re: [HELP]How To Fix It? -
[HiC]TheKiller - 21.01.2010
Quote:
|
Originally Posted by Babul
i doubt that any function gets called at the very top of a script.
please post your lines where those erroes occur, then we can help better...
|
His OnPlayerConnect could be up the top, it doesn't matter what order you put your things in as long as the includes are above. Which would mean he does have some sort of include because is passes the callback where ShowPlayerDialog is called.
Re: [HELP]How To Fix It? -
Babul - 21.01.2010
aha, well i didnt really notice that its a FS ^^
so, please post some code of the FS, then we can read the code and figure out the bug...
Re: [HELP]How To Fix It? -
Faraday - 21.01.2010
Have you tried opening the 0.3 pawno? Not just clicking the .pwn files to open them. But Go to your 0.3 server file, pawno, and open the program pawno. Then From there open your script, and compile.
it worked for me.