SA-MP Forums Archive
warning 213: 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: warning 213: tag mismatch (/showthread.php?tid=424746)



warning 213: tag mismatch - shady001 - 23.03.2013

so i have this:
pawn Code:
new fEnter[18]; //global

//OnGamemodeinit()
for(new f = 0;f<=sizeof(sFactions);f++)
    {
        new stringf[256];
        format(stringf,sizeof(stringf),"{FFFF00}%s\n{FF0000}Leader:%s\n{0000FF}",sFactions[f][fName],sFactions[f][fLeader]);
        if(f == 1)
        {
            fEnter[f] = Create3DTextLabel(stringf,RED,sFactions[f][fX],sFactions[f][fY],sFactions[f][fZ],15,-1,1);//warning 213: tag mismatch
        }
        else{
        fEnter[f] = Create3DTextLabel(stringf,RED,sFactions[f][fX],sFactions[f][fY],sFactions[f][fZ],15,-1,1);//warning 213: tag mismatch
        AddStaticPickup(19198, 23, sFactions[f][fX],sFactions[f][fY],sFactions[f][fZ]);
        }
       
    }

public Update3DText()
{
    for(new i = 0;i <= sizeof(sFactions);i++)
    {
        new stringf[256];
        format(stringf,sizeof(stringf),"{FFFF00}%s\n{FF0000}Leader:%s\n{0000FF}",sFactions[i][fName],sFactions[i][fLeader]);
        Update3DTextLabelText(fEnter[i],RED,stringf); //warning 213: tag mismatch
    }
}
My question is : what type should
pawn Code:
new fEnter[18]; //global
be ?(float/string/etc) so i can get rid of that warning


Re: warning 213: tag mismatch - kamzaf - 23.03.2013

pawn Code:
new Text3D:fEnter[MAX_FACTIONS];
I think.


Re: warning 213: tag mismatch - shady001 - 23.03.2013

Thanks that worked