HELP in headshot system
#1

Hello guys......When i compile my headshot system it says

Code:
error 025: function heading differs from prototype
Reply
#2

This usually happens when a new sa-mp version comes with new addition of argument to a function, like OnPlayerGiveDamage from 0.3x to 0.3z. The scripter must add "bodypart" argument to OnPlayerGiveDamage callback on their script.

Caused by either the number of arguments or the argument name is different.

https://sampwiki.blast.hk/wiki/Errors_Li...from_prototype
Reply
#3

Show your error line ?
Reply
#4

You should been using the old version of "OnPlayerGiveDamage" callback, update it.
Reply
#5

It can be somewhere else, show your code which displays the error.

Note: usually the line above the mentioned line is the cause of error.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)