Need help with 0.3e - 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: Need help with 0.3e (
/showthread.php?tid=342469)
Need help with 0.3e -
miley1 - 13.05.2012
whats wrong with this
pawn Код:
C:\Users\Snor!\Desktop\Real Life [ENG]\gamemodes\outlaw.pwn(1436) : error 025: function heading differs from prototype
C:\Users\Snor!\Desktop\Real Life [ENG]\gamemodes\outlaw.pwn(84666) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
how i fix it
Re: Need help with 0.3e -
.FuneraL. - 13.05.2012
pawn Код:
C:\Users\Snor!\Desktop\Real Life [ENG]\gamemodes\outlaw.pwn(1436) : error 025: function heading differs from prototype
C:\Users\Snor!\Desktop\Real Life [ENG]\gamemodes\outlaw.pwn(84666) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
The parameters of the public are different from the forward.
Re: Need help with 0.3e -
Face9000 - 13.05.2012
You're probably using a different public name rewards to the forward.Ex:
You've a forward named Forward1 but the public is Forward2.
So you've to use the same name for public and forward.
Re: Need help with 0.3e -
miley1 - 13.05.2012
Ah Im dutch and my english aint this good Pls explain me some more so i can edit it thx anyway
Re: Need help with 0.3e -
miley1 - 13.05.2012
I dont get what to edit Please reply i gtg soon
Re: Need help with 0.3e -
ViniBorn - 13.05.2012
Show the lines ...
Re: Need help with 0.3e -
miley1 - 14.05.2012
how u mean the lines? I cant find forward.ex or forward1 pls explain me
Re: Need help with 0.3e -
Mark™ - 14.05.2012
Post line 1436 and 84666 here first.
Re: Need help with 0.3e -
ViniBorn - 14.05.2012
pawn Код:
//Work
forward MyFunction();
public MyFunction()
//Don't work
forward MyFunction();
public MyFunction(playerid)
Re: Need help with 0.3e -
kvsolga - 14.05.2012
Try adding a ; on the end