textdraw warning ? tag warning?
#1

why i am getting 2 this warning?

PHP код:
C:\Users\Elvis JR\Desktop\CNR-rp\gamemodes\1.2.pwn(2489) : warning 213tag mismatch
C
:\Users\Elvis JR\Desktop\CNR-rp\gamemodes\1.2.pwn(2527) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
2 Warnings

PHP код:
if(playertextid  == CDisagree[playerid]) 
PHP код:
if(playertextid  == CAccept[playerid]) 
PHP код:
    if(_:playertextid != INVALID_TEXT_DRAW// If the player clicked a valid textdraw, continue with the coding. (_:var removes the Text: tag, to avoid tag mismatch)
    
{
        if(
playertextid  == CAccept[playerid]) // this is the Line
        
{
            if(
gTeam[playerid] == Team_Cop// if hes\her is a cop !
            
{
                 
SendClientMessage(playeridCOLOR_RED"You are already Police Officer!");
                 
TextDrawHideForPlayer(playeridPoliceO[playerid]);
                
TextDrawHideForPlayer(playeridMainBoxC[playerid]);
                
TextDrawHideForPlayer(playeridAsACop[playerid]);
                
TextDrawHideForPlayer(playeridCanDoC[playerid]);
                
TextDrawHideForPlayer(playeridPCStar[playerid]);
                
TextDrawHideForPlayer(playeridCCMD[playerid]);
                
TextDrawHideForPlayer(playeridCRules[playerid]);
                
TextDrawHideForPlayer(playeridCAccept[playerid]);
                
TextDrawHideForPlayer(playeridCDisagree[playerid]);
                
CancelSelectTextDraw(playerid);
                return 
true;
            } 
// down = if not
            
gTeam[playerid] = Team_Cop;
            
SetPlayerSkin(playerid280);
            
SetCameraBehindPlayer(playerid);
            
//SetPlayerColor(playerid, COLOR_LIGHTBLUE);
              
RadioInfo[playerid][pCopRadio] = 1;
            
SendClientMessage(playeridCOLOR_LIGHTBLUE"You Accepted Police Officer Job!");
            
SendClientMessage(playeridCOLOR_LIGHTBLUE"Do /commands for police Office Commands!");
            
TextDrawHideForPlayer(playeridPoliceO[playerid]);
            
TextDrawHideForPlayer(playeridMainBoxC[playerid]);
            
TextDrawHideForPlayer(playeridAsACop[playerid]);
            
TextDrawHideForPlayer(playeridCanDoC[playerid]);
            
TextDrawHideForPlayer(playeridPCStar[playerid]);
            
TextDrawHideForPlayer(playeridCCMD[playerid]);
            
TextDrawHideForPlayer(playeridCRules[playerid]);
            
TextDrawHideForPlayer(playeridCAccept[playerid]);
            
TextDrawHideForPlayer(playeridCDisagree[playerid]);
            
CancelSelectTextDraw(playerid);
        }
    }
    if(
_:playertextid != INVALID_TEXT_DRAW// If the player clicked a valid textdraw, continue with the coding. (_:var removes the Text: tag, to avoid tag mismatch)
    
{
        if(
playertextid  == CDisagree[playerid]) // and this one
        
{
            
SendClientMessage(playeridCOLOR_RED"You Disagree Police Officer Job!");
            
TextDrawShowForPlayer(playeridPoliceO[playerid]);
            
TextDrawHideForPlayer(playeridMainBoxC[playerid]);
            
TextDrawHideForPlayer(playeridAsACop[playerid]);
            
TextDrawHideForPlayer(playeridCanDoC[playerid]);
            
TextDrawHideForPlayer(playeridPCStar[playerid]);
            
TextDrawHideForPlayer(playeridCCMD[playerid]);
            
TextDrawHideForPlayer(playeridCRules[playerid]);
            
TextDrawHideForPlayer(playeridCAccept[playerid]);
            
TextDrawHideForPlayer(playeridCDisagree[playerid]);
            
CancelSelectTextDraw(playerid);
        }
    } 
Reply


Messages In This Thread
textdraw warning ? tag warning? - by UserName31 - 27.07.2014, 16:39
Re: textdraw warning ? tag warning? - by Wizzy951 - 27.07.2014, 16:58
Re: textdraw warning ? tag warning? - by UserName31 - 27.07.2014, 17:00
Re: textdraw warning ? tag warning? - by d3ll - 27.07.2014, 17:06
Re: textdraw warning ? tag warning? - by UserName31 - 28.07.2014, 00:28

Forum Jump:


Users browsing this thread: 1 Guest(s)