Tag Mismatch
#3

Quote:
Originally Posted by 0ne
maybe cause there isn't anything that defines cpid?
:S.
If I do

Quote:

public OnPlayerEnterStreamedCheckpoint(playerid, streamid)
{
new cpid = CheckpointCheck(playerid);

if (cpid == CPS1)
{
GameTextForPlayer(playerid,"~w~you earned ~r~$1000~w~.",1000,4);
GivePlayerMoney(playerid, 1000);
TogglePlayerCheckpoint(playerid, CPS1, bool:0);
}
return 1;
}

I even get more errors.

Quote:

\pawno\include\cps.inc(140) : warning 208: function with tag result used before definition, forcing reparse
\humanvszombies\zm.pwn(291) : warning 219: local variable "cpid" shadows a variable at a preceding level
\humanvszombies\zm.pwn(291) : error 029: invalid expression, assumed zero
\humanvszombies\zm.pwn(291) : error 029: invalid expression, assumed zero
\humanvszombies\zm.pwn(293) : warning 225: unreachable code
\humanvszombies\zm.pwn(293) : warning 213: tag mismatch
\humanvszombies\zm.pwn(291) : warning 204: symbol is assigned a value that is never used: "cpid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
Tag Mismatch - by rbN. - 05.05.2010, 15:59
Re: Tag Mismatch - by 0ne - 05.05.2010, 16:09
Re: Tag Mismatch - by rbN. - 05.05.2010, 16:26
Re: Tag Mismatch - by [MWR]Blood - 05.05.2010, 16:31
Re: Tag Mismatch - by rbN. - 05.05.2010, 16:35
Re: Tag Mismatch - by Killa_ - 05.05.2010, 16:39
Re: Tag Mismatch - by rbN. - 05.05.2010, 16:42
Re: Tag Mismatch - by rbN. - 05.05.2010, 17:35

Forum Jump:


Users browsing this thread: 4 Guest(s)