OnPlayerTakeDamage warning
#1

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?
Reply
#2

Can you show us your callback?
Reply
#3

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)
Reply
#4

Not just first line, but whole "callback" (OnPlayerTakeDamage func)
Reply
#5

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)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)