warning 213: tag mismatch - Create3DTextLabel ...
#1

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;
}
Reply
#2

Edit:

Nah i'm wrong
Reply
#3

supplydroptext must have Text3D tag.
Reply
#4

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 ;_;
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)