OnPlayerTakeDamage warning - 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: OnPlayerTakeDamage warning (
/showthread.php?tid=643506)
OnPlayerTakeDamage warning -
ElMaestro123 - 21.10.2017
Quote:
error 025: function heading differs from prototype
|
I am getting this warning since i am using ysi, i tried fix from this link:
https://sampforum.blast.hk/showthread.php?tid=488198
, but it doesn't work for me, anyone can upload to pastebin fixed version of y_als or at least a file that will fix this problem for me?
Re: OnPlayerTakeDamage warning -
Twizted - 21.10.2017
Can you show us your callback?
Re: OnPlayerTakeDamage warning -
maksicnm - 21.10.2017
In case that is 4.1
Here:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
If not working reply and i'll send u my edited 4.1.1beta YSI for that case, cuz i edited it (i had problems too haha)
Re: OnPlayerTakeDamage warning -
TheRohlikar - 21.10.2017
Not just first line, but whole "callback" (OnPlayerTakeDamage func)
Re: OnPlayerTakeDamage warning -
maksicnm - 21.10.2017
Here is the YSI folder i use, it will work 100% ( using it )
Click me <3
I edited it by myself
Y-Less pm for contibution
(JK)