Warning 213.
#1

Hi.
I've warning 213: tag mismatch. I know what does this mean and I know why I've this one (I've 3 float in a 2D list with a string).
How can ignore this warning ? I mean my code working even with this warning.
Example:
PHP код:
new Int247[][] =
{
    {-
25.884498,-185.868988,1003.54687517"24/7 - 1"},
    {
6.091179,-29.271898,1003.549438,     10"24/7 - 2"},
    {-
30.946699,-89.609596,1003.546875,     18"24/7 - 3"},
    {-
25.132598,-139.066986,1003.54687516"24/7 - 4"},
    {-
27.312299,-29.277599,1003.557250,     4"24/7 - 5"},
    {-
26.691598,-55.714897,1003.546875,  6"24/7 - 6"}
}; 
Reply
#2

Код:
new Int247[3][] = 
{ 
    {-25.884498,-185.868988,1003.546875, 17, "24/7 - 1"}, 
    {6.091179,-29.271898,1003.549438,     10, "24/7 - 2"}, 
    {-30.946699,-89.609596,1003.546875,     18, "24/7 - 3"}, 
    {-25.132598,-139.066986,1003.546875, 16, "24/7 - 4"}, 
    {-27.312299,-29.277599,1003.557250,     4, "24/7 - 5"}, 
    {-26.691598,-55.714897,1003.546875,  6, "24/7 - 6"} 
};
Reply
#3

Quote:
Originally Posted by K0P
Посмотреть сообщение
Код:
new Int247[3][] = 
{ 
    {-25.884498,-185.868988,1003.546875, 17, "24/7 - 1"}, 
    {6.091179,-29.271898,1003.549438,     10, "24/7 - 2"}, 
    {-30.946699,-89.609596,1003.546875,     18, "24/7 - 3"}, 
    {-25.132598,-139.066986,1003.546875, 16, "24/7 - 4"}, 
    {-27.312299,-29.277599,1003.557250,     4, "24/7 - 5"}, 
    {-26.691598,-55.714897,1003.546875,  6, "24/7 - 6"} 
};
?? Not at all.
Reply
#4

PHP код:
new Int247[5][4] = 

    {-
25.884498,-185.868988,1003.54687517"24/7 - 1"}, 
    {
6.091179,-29.271898,1003.549438,     10"24/7 - 2"}, 
    {-
30.946699,-89.609596,1003.546875,     18"24/7 - 3"}, 
    {-
25.132598,-139.066986,1003.54687516"24/7 - 4"}, 
    {-
27.312299,-29.277599,1003.557250,     4"24/7 - 5"}, 
    {-
26.691598,-55.714897,1003.546875,  6"24/7 - 6"
}; 
Have you tried this?
Reply
#5

Quote:
Originally Posted by DarkSkull
Посмотреть сообщение
PHP код:
new Int247[5][4] = 

    {-
25.884498,-185.868988,1003.54687517"24/7 - 1"}, 
    {
6.091179,-29.271898,1003.549438,     10"24/7 - 2"}, 
    {-
30.946699,-89.609596,1003.546875,     18"24/7 - 3"}, 
    {-
25.132598,-139.066986,1003.54687516"24/7 - 4"}, 
    {-
27.312299,-29.277599,1003.557250,     4"24/7 - 5"}, 
    {-
26.691598,-55.714897,1003.546875,  6"24/7 - 6"
}; 
Have you tried this?
Shouldnt it be this?

Код:
new Int247[6][4] = 
{ 
    {-25.884498,-185.868988,1003.546875, 17, "24/7 - 1"}, 
    {6.091179,-29.271898,1003.549438,     10, "24/7 - 2"}, 
    {-30.946699,-89.609596,1003.546875,     18, "24/7 - 3"}, 
    {-25.132598,-139.066986,1003.546875, 16, "24/7 - 4"}, 
    {-27.312299,-29.277599,1003.557250,     4, "24/7 - 5"}, 
    {-26.691598,-55.714897,1003.546875,  6, "24/7 - 6"} 
};
Reply
#6

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
?? Not at all.
Wait,i was about to edit it

Код:
new Int247[][5] = 
{ 
    {-25.884498,-185.868988,1003.546875, 17, "24/7 - 1"}, 
    {6.091179,-29.271898,1003.549438,     10, "24/7 - 2"}, 
    {-30.946699,-89.609596,1003.546875,     18, "24/7 - 3"}, 
    {-25.132598,-139.066986,1003.546875, 16, "24/7 - 4"}, 
    {-27.312299,-29.277599,1003.557250,     4, "24/7 - 5"}, 
    {-26.691598,-55.714897,1003.546875,  6, "24/7 - 6"} 
};

enum yourenumname
{
    Float:posX,
    Float:posY,
    Float:posZ,
    Interior,
    Name[50]
}
Reply
#7

Quote:
Originally Posted by WhiteGhost
Посмотреть сообщение
Shouldnt it be this?

Код:
new Int247[6][4] = 
{ 
    {-25.884498,-185.868988,1003.546875, 17, "24/7 - 1"}, 
    {6.091179,-29.271898,1003.549438,     10, "24/7 - 2"}, 
    {-30.946699,-89.609596,1003.546875,     18, "24/7 - 3"}, 
    {-25.132598,-139.066986,1003.546875, 16, "24/7 - 4"}, 
    {-27.312299,-29.277599,1003.557250,     4, "24/7 - 5"}, 
    {-26.691598,-55.714897,1003.546875,  6, "24/7 - 6"} 
};
Nope, because it counts '0' as well.
Reply
#8

Quote:
Originally Posted by WhiteGhost
Посмотреть сообщение
Shouldnt it be this?

Код:
new Int247[6][4] = 
{ 
    {-25.884498,-185.868988,1003.546875, 17, "24/7 - 1"}, 
    {6.091179,-29.271898,1003.549438,     10, "24/7 - 2"}, 
    {-30.946699,-89.609596,1003.546875,     18, "24/7 - 3"}, 
    {-25.132598,-139.066986,1003.546875, 16, "24/7 - 4"}, 
    {-27.312299,-29.277599,1003.557250,     4, "24/7 - 5"}, 
    {-26.691598,-55.714897,1003.546875,  6, "24/7 - 6"} 
};
It counts from 0 so 5 is alright
Reply
#9

Will not working.
Reply
#10

Quote:
Originally Posted by K0P
Посмотреть сообщение
Wait,i was about to edit it

Код:
new Int247[][5] = 
{ 
    {-25.884498,-185.868988,1003.546875, 17, "24/7 - 1"}, 
    {6.091179,-29.271898,1003.549438,     10, "24/7 - 2"}, 
    {-30.946699,-89.609596,1003.546875,     18, "24/7 - 3"}, 
    {-25.132598,-139.066986,1003.546875, 16, "24/7 - 4"}, 
    {-27.312299,-29.277599,1003.557250,     4, "24/7 - 5"}, 
    {-26.691598,-55.714897,1003.546875,  6, "24/7 - 6"} 
};

enum yourenumname
{
    Float:posX,
    Float:posY,
    Float:posZ,
    Interior,
    Name[50]
}
Apologize, I didn't see this one.
Also this is smart and it's working. I'll rep you and everyone who tried to help me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)