Array Error: "Tag Mismatch"
#1

Hello, I have a problem here. Look at my code:

pawn Код:
new GangzoneCheckpoint[6][3] = {
    {2387.6262,-568.8369,116.3413},
    {2551.2236,-776.4802,92.7190},
    {2349.8789,2.9055,26.4844},
    {1945.2312,-292.3209,6.4530},
    {1561.5045,-447.8862,41.4037},
    {1873.6405,-57.7272,-0.5450}
};
And it gives me an error saying Tag Mismatch which in every line (Starts from {2387.6262,-568.8369,116.3413}, to {1873.6405,-57.7272,-0.5450}) has 3 of this error.

Can you tell me what's wrong? Yes, i'm never make an array before...
Reply
#2

Anybody
Reply
#3

pawn Код:
new Float:GangzoneCheckpoint[6][3] = {
    {2387.6262,-568.8369,116.3413},
    {2551.2236,-776.4802,92.7190},
    {2349.8789,2.9055,26.4844},
    {1945.2312,-292.3209,6.4530},
    {1561.5045,-447.8862,41.4037},
    {1873.6405,-57.7272,-0.5450}
};
Here you go, should work
Reply
#4

Quote:
Originally Posted by armyoftwo
Посмотреть сообщение
pawn Код:
new Float:GangzoneCheckpoint[6][3] = {
    {2387.6262,-568.8369,116.3413},
    {2551.2236,-776.4802,92.7190},
    {2349.8789,2.9055,26.4844},
    {1945.2312,-292.3209,6.4530},
    {1561.5045,-447.8862,41.4037},
    {1873.6405,-57.7272,-0.5450}
};
Here you go, should work
Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)