SA-MP Forums Archive
error 010: 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: error 010: invalid function or declaration (/showthread.php?tid=645544)



error 010: invalid function or declaration - SH0x - 29.11.2017

hello .
i got this error when i want to compile my source code :
eventsys.pwn(1) : error 010: invalid function or declaration

this is my source :
#include <a_samp> <<<<< line 1
#include <zcmd>

#define Team_Blue 0
#define Team_Red 1
#define MAX_PICK 15


Re: error 010: invalid function or declaration - pulsare - 29.11.2017

can you tell me the code where the error is?


Re: error 010: invalid function or declaration - RageCraftLV - 29.11.2017

Have you tried using a different compiler, like Zeex?


Re: error 010: invalid function or declaration - DimaGixcart - 29.11.2017

Maybe you do not have a_samp in the same folder.\pawno\include and include


Re: error 010: invalid function or declaration - lNoobOnDutyl - 29.11.2017

Quote:
Originally Posted by pulsare
Посмотреть сообщение
can you tell me the code where the error is?
As Pulsare said to make us better understand the situation and help you provide the code where the error originates from.


Re: error 010: invalid function or declaration - SH0x - 29.11.2017

Quote:
Originally Posted by pulsare
Посмотреть сообщение
can you tell me the code where the error is?
i marked , error appeared where i included a_samp


Re: error 010: invalid function or declaration - SH0x - 29.11.2017

Quote:
Originally Posted by RageCraftLV
Посмотреть сообщение
Have you tried using a different compiler, like Zeex?
no but i compiled many sources with this compiler


Re: error 010: invalid function or declaration - SH0x - 29.11.2017

Quote:
Originally Posted by DimaGixcart
Посмотреть сообщение
Maybe you do not have a_samp in the same folder.\pawno\include and include
i have it


Re: error 010: invalid function or declaration - RageCraftLV - 29.11.2017

Is a_samp the first include you're including?


Re: error 010: invalid function or declaration - SH0x - 29.11.2017

Quote:
Originally Posted by RageCraftLV
Посмотреть сообщение
Is a_samp the first include you're including?
yeah of course .