Need help with error 025(bodyparts) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help with error 025(bodyparts) (
/showthread.php?tid=573309)
Need help with error 025(bodyparts) -
Aleksa15 - 06.05.2015
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
Re: Need help with error 025(bodyparts) -
Konstantinos - 06.05.2015
"bodypart" was added later so every include which uses that callback should be updated (and containing that parameter).
Re: Need help with error 025(bodyparts) -
Aleksa15 - 06.05.2015
Could u provide me the link where i can find that update?
PS.Im not lazy i just cant find it
Re: Need help with error 025(bodyparts) -
Konstantinos - 06.05.2015
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.
Re: Need help with error 025(bodyparts) -
Aleksa15 - 06.05.2015
Thank you for your help,but i still could fix it(im probably doing something wrong)