Tag Mismatch, Textdraws
#1

I keep getting these warnings when i compile:
warning 213: tag mismatch

pawn Код:
enum TOOLBAR_ELEMENTS
{
    TOOLBAR_VEHICLE,
    TOOLBAR_OBJECT,
    TOOLBAR_PICKUP,
    TOOLBAR_SAVE,
    TOOLBAR_OPEN,
    TOOLBAR_NEW,
    TOOLBAR_VIEW,
    TOOLBAR_INFO
}
Text: ToolbarTD[TOOLBAR_ELEMENTS][TOOLBAR_TYPES],

pawn Код:
for(new i; i < TOOLBAR_ELEMENTS; i ++) // Tag Mismatch
Reply
#2

pawn Код:
for(new 0 = i; i < TOOLBAR_ELEMENTS; i++)
Reply
#3

@UltraScripter: Wtf?

@OP: You encountered a strong tag. Change it's type to "no type"
pawn Код:
for(new 0 = i; i < _:TOOLBAR_ELEMENTS; i++)
Reply
#4

Quote:
Originally Posted by Misiur
Посмотреть сообщение
@UltraScripter: Wtf?

@OP: You encountered a strong tag. Change it's type to "no type"
pawn Код:
for(new 0 = i; i < _:TOOLBAR_ELEMENTS; i++)
cheers
Reply
#5

Or simply do
pawn Код:
enum _:TOOLBAR_ELEMENTS
{
    TOOLBAR_VEHICLE,
    TOOLBAR_OBJECT,
    TOOLBAR_PICKUP,
    TOOLBAR_SAVE,
    TOOLBAR_OPEN,
    TOOLBAR_NEW,
    TOOLBAR_VIEW,
    TOOLBAR_INFO
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)