warning 213: tag mismatch
#1

help, warning 213: tag mismatch
how to fix?

Код:
CMD:duty(playerid, params[])
{
	new Text3D: label;
	if(pInfo[playerid][pAdmin] < 1) return SCM(playerid, COLOR_RED, "[Server]: Nem hasznбlhatod a parancsot!");
	new string[128];
    if(pInfo[playerid][pDuty] == 0)
    {
	    format(string, sizeof(string), "[Server-ADMIN]: %s szolgбlatba van.", GetName(playerid));
	    SCMToAll(COLOR_PINK, string);
	    SetPlayerHealth(playerid, 10000);
	    SetPlayerArmour(playerid, 10000);
	    pInfo[playerid][pDuty] = 1;
    	label = Create3DTextLabel("Admin szolgбlatban", COLOR_PINK, 30.0, 40.0, 50.0, 40.0, 0);
 		Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
	}
	else
	{
 	if(pInfo[playerid][pDuty] == 1)
 	{
	    format(string, sizeof(string), "[Server-ADMIN]: %s kilйpett a szolgбlatbуl.", GetName(playerid));
	    SCMToAll(COLOR_PINK, string);
	    SetPlayerHealth(playerid, 100);
	    SetPlayerArmour(playerid, 100);
	    pInfo[playerid][pDuty] = 0;
  	    DeletePlayer3DTextLabel(playerid, label);  <<< WARNING 
	}
	}
	return 1;
}
Reply


Messages In This Thread
warning 213: tag mismatch - by Slicebook - 16.07.2014, 12:43
Re: warning 213: tag mismatch - by Foraysen - 16.07.2014, 12:48
Re: warning 213: tag mismatch - by Blast3r - 16.07.2014, 12:50
Re: warning 213: tag mismatch - by Battlezone - 16.07.2014, 12:50
Re: warning 213: tag mismatch - by BlackM - 16.07.2014, 12:51
Re: warning 213: tag mismatch - by Slicebook - 16.07.2014, 13:02
Re: warning 213: tag mismatch - by Konstantinos - 16.07.2014, 13:05

Forum Jump:


Users browsing this thread: 1 Guest(s)