Need help with error 025(bodyparts)
#1

Hi guys,when i compile i get this error:

error 025: function heading differs from prototype
(public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart))

If anyone could help would be appreciated
Reply
#2

"bodypart" was added later so every include which uses that callback should be updated (and containing that parameter).
Reply
#3

Could u provide me the link where i can find that update?
PS.Im not lazy i just cant find it
Reply
#4

Just download a new server package (for Windows): http://files.sa-mp.com/samp037_svr_R1_win32.zip
and copy-paste your files (except those includes coming with the package: a_samp.inc, a_players.inc etc..) into the new (extracted) folder.
Reply
#5

Thank you for your help,but i still could fix it(im probably doing something wrong)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)