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: function heading differs from prototype (
/showthread.php?tid=624519)
function heading differs from prototype -
SsHady - 18.12.2016
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]);
}
Re: function heading differs from prototype - iLearner - 18.12.2016
Show Wrongcmd[playerid] code
Re: function heading differs from prototype -
itsCody - 18.12.2016
did you forward it correctly?
forward HideWrongTD(playerid);
Re: function heading differs from prototype -
SsHady - 18.12.2016
Worked...
Changed mine
to yours
pawn Код:
forward HideWrongTD(playerid);
Thank you, +2 for you both.