SA-MP Forums Archive
error 025: function heading differs from prototype error - 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: error 025: function heading differs from prototype error (/showthread.php?tid=579472)



error 025: function heading differs from prototype error - OmarSalah - 27.06.2015

How can I fix this error:
(34307) : error 025: function heading differs from prototype

Line:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)


Re: error 025: function heading differs from prototype error - Evocator - 27.06.2015

Make sure you update to 0.3z because the param "bodypart" was added in SA-MP 0.3z and will not work in earlier versions!