SA-MP Forums Archive
Compile error for filterscript - 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: Compile error for filterscript (/showthread.php?tid=556312)



Compile error for filterscript - Primard - 10.01.2015

I have errors to compile the filterscript, here is the error:
Код:
C:\Users\blank\Documents\Personal Things\GTA files\GTA SA files\SAMP\pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
C:\Users\blank\Documents\Personal Things\GTA files\GTA SA files\SAMP\pawno\include\YSI\y_hooks/impl.inc(2391) : error 003: declaration of a local variable must appear in a compound block
C:\Users\blank\Documents\Personal Things\GTA files\GTA SA files\SAMP\pawno\include\YSI\y_hooks/impl.inc(2395) : error 010: invalid function or declaration
C:\Users\blank\Documents\Personal Things\GTA files\GTA SA files\SAMP\pawno\include\YSI\y_hooks/impl.inc(2397) : error 017: undefined symbol "bodypart"
C:\Users\blank\Documents\Personal Things\GTA files\GTA SA files\SAMP\pawno\include\YSI\y_hooks/impl.inc(2398) : error 017: undefined symbol "weaponid"
C:\Users\blank\Documents\Personal Things\GTA files\GTA SA files\SAMP\pawno\include\YSI\y_hooks/impl.inc(2399) : error 017: undefined symbol "amount"
C:\Users\blank\Documents\Personal Things\GTA files\GTA SA files\SAMP\pawno\include\YSI\y_hooks/impl.inc(2400) : error 017: undefined symbol "damagedid"
C:\Users\blank\Documents\Personal Things\GTA files\GTA SA files\SAMP\pawno\include\YSI\y_hooks/impl.inc(2401) : error 017: undefined symbol "playerid"
C:\Users\blank\Documents\Personal Things\GTA files\GTA SA files\SAMP\pawno\include\YSI\y_hooks/impl.inc(2404) : error 017: undefined symbol "start"
C:\Users\blank\Documents\Personal Things\GTA files\GTA SA files\SAMP\pawno\include\YSI\y_hooks/impl.inc(2418) : error 017: undefined symbol "ret"
C:\Users\blank\Documents\Personal Things\GTA files\GTA SA files\SAMP\pawno\include\YSI\y_hooks/impl.inc(2422) : error 017: undefined symbol "ret"
C:\Users\blank\Documents\Personal Things\GTA files\GTA SA files\SAMP\pawno\include\YSI\y_hooks/impl.inc(2423) : error 010: invalid function or declaration
C:\Users\blank\Documents\Personal Things\GTA files\GTA SA files\SAMP\pawno\include\YSI\y_hooks/impl.inc(2425) : error 010: invalid function or declaration
Thanks


Re: Compile error for filterscript - 1fret - 10.01.2015

Did you download the ysi include


Re: Compile error for filterscript - HY - 10.01.2015

Your Y_ini it's outdated.
Please, download the latest version.

https://sampforum.blast.hk/showthread.php?tid=175565

If doesn't work, because I had same problems like you, ask a player to give you impl.inc.


Re: Compile error for filterscript - Primard - 10.01.2015

it worked! looks like the ysi file I got from wiki was an older version. Thank you so much! I will rep you!