error 025: function heading differs from prototype
#1

Pretty sure that I am opening the right Pawno.exe and I am pretty sure that I am having bodypart parameter in a_samp.inc.

pawn Code:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
That's the code. Anybode else having problem with that? Weird.. never had that before.
Reply
#2

Are you using YSI? There's an issue with it on 0.3z
Reply
#3

What includes you are using, mainly OnPlayerTakeDamage/GiveDamage hooked callback would cause the issue related to this error. If you are using YSI bundle, you will need to wait for an update. Other includes would be easy to update.
Reply
#4

Yep, I do. Thanks for it, I'll have to wait for update from ****** or fix it on my own.

Dzięki.
Reply
#5

Quote:
Originally Posted by Riddick94
View Post
Yep, I do. Thanks for it, I'll have to wait for update from ****** or fix it on my own.

Dzięki.
If you're trying that by your own you can try editing, but it didn't work out (I didn't tested it myself but KyleSmith did the same thing, it still gives the same error.)

y_als\tests.inc, internal\y_dohooks.inc and y_hooks\impl.inc
Reply
#6

Here

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



GG - This forum requires that you wait 240 seconds between posts. Please try again in 1 seconds.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)