Need help-Invalid function or declaration - 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: Need help-Invalid function or declaration (
/showthread.php?tid=320493)
Need help-Invalid function or declaration -
lion950 - 23.02.2012
Hey guys, i am still a newbie at scripting and a problem occured today- i can't compile my script because of the following mistakes:
D:\Games\GTA San Andreas\Multiplayer\pawno\include\PPC_Defines.inc( 240) : error 010: invalid function or declaration
D:\Games\GTA San Andreas\Multiplayer\pawno\include\PPC_Dialogs.inc( 2822) : error 017: undefined symbol "DialogMsg5000"
D:\Games\GTA San Andreas\Multiplayer\pawno\include\PPC_Dialogs.inc( 2834) : error 017: undefined symbol "DialogMsg5000"
D:\Games\GTA San Andreas\Multiplayer\pawno\include\PPC_Dialogs.inc( 2839) : error 017: undefined symbol "DialogMsg5000"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
And here it is what is said to be an "invalid function or declaration":
// Create some global variables that are used to display large dialogs
new DialogMsg5000[5000];
Please help me guys.
I am really a noob as you see ;d
Re: Need help-Invalid function or declaration -
Ballu Miaa - 23.02.2012
Are you using #include <PPC_Dialogs> on the top of your GM?
Re: Need help-Invalid function or declaration -
lion950 - 23.02.2012
Yes, I do.
Re: Need help-Invalid function or declaration -
lion950 - 23.02.2012
Help me please, now i can't start my server