function heading differs from prototype
#1

Hey!

I'm getting the following error, on the following code.

Код:
error 025: function heading differs from prototype
Код:
public HideWrongTD(playerid)
{
	PlayerTextDrawDestroy(playerid, wrongcmd[playerid]);
}
Reply
#2

Show Wrongcmd[playerid] code
Reply
#3

did you forward it correctly?

forward HideWrongTD(playerid);
Reply
#4

Worked...

Changed mine
pawn Код:
forward HideWrongTD;
to yours
pawn Код:
forward HideWrongTD(playerid);
Thank you, +2 for you both.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)