[HELP]How To Fix It?
#1

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.
Reply
#2

Update your sa-mp includes.
Reply
#3

i have the sa-mp 0.3 includes
Reply
#4

Evidently you've either not included the new 0.3 includes, as you wouldn't be getting this error.
Reply
#5

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...
Reply
#6

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.
Reply
#7

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...
Reply
#8

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)