Error 025:function heading differs from prototy
#1

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)
Reply
#2

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[]);
Reply
#3

Thank you MP2
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)