19.05.2011, 19:59
Hey guys, i got weird errors in my auto heal and auto weapon & armour
Like this:
This are the lines:
And its strange when i remove this lines on top of the script:
It works without errors, but ingame the function doesnt work
Like this:
Код:
F:\gs.pwn(202) : error 025: function heading differs from prototype F:\gs.pwn(203) : error 025: function heading differs from prototype F:\gs.pwn(215) : error 025: function heading differs from prototype F:\gs.pwn(216) : error 025: function heading differs from prototype Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
202: forward AUTOHEAL(playerid); 203: public AUTOHEAL(playerid) 215: forward AUTOWEAPARMOUR(playerid); 216: public AUTOWEAPARMOUR(playerid)
Код:
forward AUTOHEAL(); forward AUTOWEAPARMOUR();