Compiling error: (3159) : 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: Compiling error: (3159) : error 025: function heading differs from prototype (
/showthread.php?tid=367659)
Compiling error: (3159) : error 025: function heading differs from prototype -
Joeyboy99 - 10.08.2012
When I go to compile my script I get this error message:
Код:
(3159) : error 025: function heading differs from prototype
Line 3159 is this:
Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
Please help me fix this error.
Re: Compiling error: (3159) : error 025: function heading differs from prototype -
RedJohn - 10.08.2012
Try following this:
LINK
Re: Compiling error: (3159) : error 025: function heading differs from prototype -
Joeyboy99 - 10.08.2012
Fixed it, I had some missing Includes when I was compiling, but thanks anyway.