#1

I get:

Quote:

C:\Users\Callum(Gaming)\Desktop\Server\gamemodes\D ebt(14650) : error 025: function heading differs from prototype

For:

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
Reply
#2

Update your includes!
Reply
#3

I've tried it, it's not working!!!
Reply
#4

By "includes", SickAttack is not referring only to those that come up with the server package but literally all the includes you use. If some of them have not been updated for a long time, you'll need to manually search and find which includes use OnPlayerTakeDamage callback and add the bodypart parameter yourself.
Reply
#5

None of my includes use it except YSI which I have updated to 3.1 and a_samp which I have updated and has.
Reply
#6

Please help.
Reply
#7

I had the problem before too, it's because of YSI.

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

I tried that, it does not work for me.
Reply
#9

Why don't you simply update to YSI 4?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)