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=475386)
error 025: function heading differs from prototype -
DamonD - 12.11.2013
}
else
{
DeletePVar(playerid, "pPirate");
if(piratestep[6] > 0) piratestep[6]--;
SetPlayerPos(playerid, 1427.0665,-129.3872,23.2147);
SetPlayerHealth(playerid, GetPVarFloat(playerid, "pOldHealth"));
DeletePVar(playerid, "pOldHealth");
}
return 1;
}
I get the error "error 025: function heading differs from prototype" at the "else". Why is this happening and how can I fix this issue?