error 025: 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: error 025: function heading differs from prototype (
/showthread.php?tid=450530)
error 025: function heading differs from prototype -
xXitsgodzillaXx - 13.07.2013
Ok so this stock function is giving me errors.
pawn Код:
stock GivePlayerScore(playerid, score)
{
SetPlayerScore(playerid, GetPlayerScore(playerid)+score);
return 1;
}
errors:
Код:
C:\Documents and Settings\Owner\Desktop\test\gamemodes\DDPTDM.pwn(865) : error 025: function heading differs from prototype
C:\Documents and Settings\Owner\Desktop\test\gamemodes\DDPTDM.pwn(866) : error 021: symbol already defined: "GivePlayerScore"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Helps? :l
Re: error 025: function heading differs from prototype -
Threshold - 13.07.2013
You have GivePlayerScore somewhere else in your script, or it may be in an include that you have added.
Re: error 025: function heading differs from prototype -
xXitsgodzillaXx - 13.07.2013
Quote:
Originally Posted by BenzoAMG
You have GivePlayerScore somewhere else in your script, or it may be in an include that you have added.
|
Oh lol thanks turns out it was in another include file. have some rep!