error 025: function heading differs from prototype
#1

(5220) : error 025: function heading differs from prototype


Код:
public SetPlayerCriminal(playerid,declare,reason [])
{//example: SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle");
	if(IsPlayerConnected(playerid))
	{
	    PlayerInfo[playerid][pCrimes] += 1;
	    new points = WantedPoints[playerid];
		new turned[MAX_PLAYER_NAME];
		new turner[MAX_PLAYER_NAME];
		new turnmes[128];
		new wantedmes[128];
		new wlevel;
		strmid(PlayerCrime[playerid][pAccusedof], reason, 0, strlen(reason), 255);
		GetPlayerName(playerid, turned, sizeof(turned));
		if (declare == 255)
		{
			format(turner, sizeof(turner), "Unknown");
			strmid(PlayerCrime[playerid][pVictim], turner, 0, strlen(turner), 255);
		}
		if (declare == 256)
What is wrong gives me this error? Please help me !
Reply


Messages In This Thread
error 025: function heading differs from prototype - by darkdave - 06.08.2013, 13:53
Re: error 025: function heading differs from prototype - by CutX - 06.08.2013, 13:58
Re: error 025: function heading differs from prototype - by dEcooR - 06.08.2013, 14:09

Forum Jump:


Users browsing this thread: 2 Guest(s)