Tag mismatch on CreateObject to Array?
#1

pawn Код:
Presents[i][3] = CreateObject(snip);
        Presents[i][4] = CreateObject(snip);

....

        DestroyObject(Presents[i][3]); // warning 213: tag mismatch
        DestroyObject(Presents[i][4]); // warning 213: tag mismatch
Ideas?
Reply
#2

Replace
pawn Код:
CreateObject(snip);
With
pawn Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance);
Reply
#3

No you crankhead, I removed my objects for a reason, I clearly stated the problem is the tag mismatch. not the objects.
Reply
#4

Quote:
Originally Posted by Hoborific
Посмотреть сообщение
pawn Код:
Presents[i][3] = CreateObject(snip);
        Presents[i][4] = CreateObject(snip);

....

        DestroyObject(Presents[i][3]); // warning 213: tag mismatch
        DestroyObject(Presents[i][4]); // warning 213: tag mismatch
Ideas?
Show me your "new Presents[x][x]" please?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)