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



error 025: function heading differs from prototype - Shaktimaan - 09.07.2015

Ok when i take this

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
it doesn't give any error...

But when i include "bodypart" in that callback then it gives me an error

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
error
pawn Код:
F:\DON'TE~1\GAMEMO~1\xxx.pwn(11518) : error 025: function heading differs from prototype
My a_samp include is updated with 0.3.7 ..
What is the problem?


Re: error 025: function heading differs from prototype - Michael B - 09.07.2015

Please visit this thread.
You will find there the solution.


Re: error 025: function heading differs from prototype - Shaktimaan - 09.07.2015

Hardly understand anything from that thread! From where i can download YSI 3.1?


Re: error 025: function heading differs from prototype - KingServerIRAN - 09.07.2015

Please try to understand then you will be successful in this


Re: error 025: function heading differs from prototype - Michael B - 09.07.2015

Quote:
Originally Posted by Shaktimaan
Посмотреть сообщение
Hardly understand anything from that thread! From where i can download YSI 3.1?
There we go : https://github.com/Southclaw/YSI-3.1