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



Error 025:function heading differs from prototy - N00bKiller - 05.06.2013

hello!
Today I got some errors from the autopilot script.
I searched but it can't fix my problem

It cames this when I tried to compile it:

C:\My Folders\Script Files\Test\pawno\Gamemod Pawn\autopilot.pwn(156) : error 025: function heading differs from prototype

Script line:
Код:
public GPS_WhenRouteIsCalculated(routeid,node_id_array[],amount_of_nodes,distance)



Re: Error 025:function heading differs from prototy - MP2 - 05.06.2013

This is correct:

pawn Код:
public GPS_WhenRouteIsCalculated(routeid,node_id_array[],amount_of_nodes,Float:distance,Float:Polygon[],Polygon_Size,Float:NodePosX[],Float:NodePosY[],Float:NodePosZ[]);



Re: Error 025:function heading differs from prototy - N00bKiller - 06.06.2013

Thank you MP2