warning 213: tag mismatch
#1

I get these Warnings and if i use /c20 [ID] it doesnt set tracer on player but sets it in corner of SA Map on sea.

PAWN:
C:\Documents and Settings\LinesX\Desktop\PZG\PZG\gamemodes\PZG.pwn( 6859 : warning 209: function "cmd_c20" should return a value
C:\Documents and Settings\LinesX\Desktop\PZG\PZG\gamemodes\PZG.pwn( 68601) : warning 213: tag mismatch
C:\Documents and Settings\LinesX\Desktop\PZG\PZG\gamemodes\PZG.pwn( 68601) : warning 213: tag mismatch
C:\Documents and Settings\LinesX\Desktop\PZG\PZG\gamemodes\PZG.pwn( 68601) : warning 213: tag mismatch

SCRIPT:
CMD:c20(playerid,params[])
if(IsACop(playerid) || PlayerInfo[playerid][pMember] == 4 && PlayerInfo[playerid][pDivision] == 2 || PlayerInfo[playerid][pMember] == 4 && PlayerInfo[playerid][pRank] >= 5 || (PlayerInfo[playerid][pMember] == 12 && PlayerInfo[playerid][pDivision] == 2))
{
switch(pTrack[playerid])
{
case INVALID_PLAYER_ID:
{
new id;
if(sscanf(params,"u",id)) return SendClientMessage(playerid,-1,"/c20 [playerid]");
if(!IsPlayerConnected(id)) return SendClientMessage(playerid,-1,"Invalid playerid");
pTrack[playerid] = id;
pTrackTimer[playerid] = SetTimerEx("TrackTimer",1000,1,"i",playerid);
}
default:
{
pTrack[playerid] = INVALID_PLAYER_ID;
KillTimer(pTrackTimer[playerid]);
DisablePlayerCheckpoint(playerid);
}
}
return 1;
}

public TrackTimer(playerid)
{
new pos[3];
GetPlayerPos(pTrack[playerid],pos[0],pos[1],pos[2]);
SetPlayerCheckpoint(playerid,pos[0],pos[1],pos[2],4.0);
return 1;
}
Reply


Messages In This Thread
warning 213: tag mismatch - by Lunixx - 14.10.2013, 11:33
Re: warning 213: tag mismatch - by Konstantinos - 14.10.2013, 11:39
Re: warning 213: tag mismatch - by Lunixx - 14.10.2013, 11:46

Forum Jump:


Users browsing this thread: 1 Guest(s)