SA-MP Forums Archive
Y_INI problem - 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: Y_INI problem (/showthread.php?tid=560928)



Y_INI problem - iCurse - 31.01.2015

When i compile my gamemode this gives me an error.
Код:
C:\Users\Hadjinoor-PC\Desktop\SA-MP\pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
C:\Users\Hadjinoor-PC\Desktop\SA-MP\pawno\include\YSI\y_hooks/impl.inc(2339) : warning 235: public function lacks forward declaration (symbol "OnPlayerTakeDamage")
C:\Users\Hadjinoor-PC\Desktop\SA-MP\pawno\include\YSI\y_hooks/impl.inc(2386) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
C:\Users\Hadjinoor-PC\Desktop\SA-MP\gamemodes\GW.pwn(112) : error 021: symbol already defined: "S@@_OnPlayerDeath"



Re: Y_INI problem - CalvinC - 31.01.2015

Quote:

error 021: symbol already defined: "S@@_OnPlayerDeath"

This means you are trying to use 2 OnPlayerDeath public functions.

For the impl.inc, it might be caused by the above error.
If not, you can try to update your a_samp, you might be using an outdated version of it.