error 025: function heading differs from prototype
#1

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

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)