error 025: function heading differs from prototype
#1

Код:
error 025: function heading differs from prototype
Error has to do with trying to use the bodypart function on
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
Caused by the YSI package and I have went through each "fix" (https://sampforum.blast.hk/showthread.php?tid=488198) that has been proposed on the forums which are out dated with a newer version of YSI (3.1 I believe) that was released and the fixes do not seem to function the same as the files are set up differently and I am unable to figure it out. I'm not sure which code if any to include, I was more hoping somebody ran into this problem and can think of the fix off the top of their head.

Thanks, any help would be appreciated!
Reply
#2

Hello.

I don't have any idea of YSI because I never used this. But, maybe this link can help you:
https://sampforum.blast.hk/showthread.php?tid=488198

- EDIT:
Ah, sorry. I didn't see this link..
Reply
#3

I appreciate the reply, But I said in the main topic that thread wasn't useful for me as the files are set up diffrently.
Thanks though buddy.

EDIT:

I got it figured out. My YSI 3.1 I had downloaded wasn't actually YSI 3.1. Not sure how that happened.

@Mencent All good man! I really appreciate you taking time to reply anyways!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)