error 025: function heading differs from prototype
#1

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
Reply
#2

You have GivePlayerScore somewhere else in your script, or it may be in an include that you have added.
Reply
#3

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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)