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=281511)
error 025: function heading differs from prototype -
Wesley221 - 06.09.2011
Im getting the error "error 025: function heading differs from prototype" in a weird place.
pawn Код:
YCMD:jail(playerid, params[], help) // <--
{
return 1;
}
Im not sure how this error can be fixed, since im not using 'forward Jail();' or anything. Also im sure there is no variable named 'Jail', its just the command.
How can i fix this?
Edit:
solved
Re: error 025: function heading differs from prototype -
Wesley221 - 06.09.2011
Oh yes, sure
pawn Код:
YCMD: // empty YCMD: was above the jail command, so it gave an error
YCMD:jail(playerid, params[], help) // this was my jail command
{
return 1;
}