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



warning 213: tag mismatch - Create3DTextLabel ... - Kyance - 23.04.2014

Everything looks fine to me, but i keep getting that
Код:
\Squads.pwn(776) : warning 213: tag mismatch
warning.
I checked if i typed the 'supplydroptext' wrong, but it's the same as the one at the enums.

pawn Код:
public OnObjectMoved(objectid)
{
    new sqid, string[132], Float:X, Float:Y, Float:Z;
    format(string, sizeof(string), "{FFCC66}SQUAD: The supply-drop has been successfully deployed!");
    foreach(Player, x)
    {
        sqid = squad[x][sid];
        if(squadinfo[sqid][supplydropactive])
        {
            if(squadinfo[sqid][supplydropid] == objectid)
            {
                GetObjectPos(objectid, X, Y, Z);
               
                format(string, sizeof(string), "{FFCC66}Only squad '%s' can use this supply-drop\nPress 'Y' to access it", squadinfo[sqid][sqname]);
                squadinfo[sqid][supplydroptext] = Create3DTextLabel(string, -1, X, Y, Z, 150, 0, 0); //Error line

               
                SendClientMessage(x, -1, string);
            }
        }
    }
    return 1;
}



Re: warning 213: tag mismatch - Create3DTextLabel ... - Dziugsas - 23.04.2014

Edit:

Nah i'm wrong


Re: warning 213: tag mismatch - Create3DTextLabel ... - Konstantinos - 23.04.2014

supplydroptext must have Text3D tag.


Re: warning 213: tag mismatch - Create3DTextLabel ... - Kyance - 23.04.2014

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
supplydroptext must have Text3D tag.
Thank you Konstantinos

You must spread some Reputation around before giving it to Konstantinos again ;_;