SA-MP Forums Archive
[HELP] tag mismatch - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] tag mismatch (/showthread.php?tid=338025)



[HELP] tag mismatch - V4at - 28.04.2012

Код:
warning 213: tag mismatch
Код:
if(IsPlayerNPC(playerid))
     {
          new Vagos;
          new npc_name[24];
          GetPlayerName(playerid,npc_name,sizeof(npc_name));
          if(!strcmp(npc_name,"Vagos",false))
          {
          SetPlayerSkin(playerid, 108);
	      SetPlayerColor(playerid, COLOR_YELLOW);
          Vagos = Create3DTextLabel("{F3FF02}Vagos", 0x33CCFFAA,30.0,40.0,50.0,40.0,0); // tag mismatch
	      Attach3DTextLabelToPlayer(Text3D:Vagos, playerid, 0.0, 0.0, 0.3);
          }
Why there is problem?


Re: [HELP] tag mismatch - SuperViper - 28.04.2012

pawn Код:
if(IsPlayerNPC(playerid))
     {
          new Text3D: Vagos;
          new npc_name[24];
          GetPlayerName(playerid,npc_name,sizeof(npc_name));
          if(!strcmp(npc_name,"Vagos",false))
          {
          SetPlayerSkin(playerid, 108);
          SetPlayerColor(playerid, COLOR_YELLOW);
          Vagos = Create3DTextLabel("{F3FF02}Vagos", 0x33CCFFAA,30.0,40.0,50.0,40.0,0); // tag mismatch
          Attach3DTextLabelToPlayer(Vagos, playerid, 0.0, 0.0, 0.3);
          }



Re : [HELP] tag mismatch - V4at - 28.04.2012

Thanks man!