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



Invalid function or declaration - Primes007 - 28.12.2017

PHP код:
D:\Games\Server Files\Test Server\pawno\include\GetVehicleColor.inc(1) : error 010invalid function or declaration 
I'm using this include: https://sampforum.blast.hk/showthread.php?tid=235398


Re: Invalid function or declaration - Primes007 - 28.12.2017

No help from anyone at all. Sad.

However, I fixed the issue. Solution: Changed the encoding of the include(.inc) file to ANSI.


Re: Invalid function or declaration - RogueDrifter - 28.12.2017

That's an include from 2011 AND you provided no code, how do you expect help?


Re: Invalid function or declaration - EmpireSk - 28.12.2017

Show code.....

Include in GM
PHP код:
#include <GetVehicleColor> 
....


try downloading and saving to the include folder


Re: Invalid function or declaration - Primes007 - 29.12.2017

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
That's an include from 2011 AND you provided no code, how do you expect help?
Is there a requirement to show
PHP код:
#include <GetVehicleColor> 
? Its understood.