#1

error
Код:
C:\DOCUME~1\JTECHC~1\Desktop\NEWFOL~1\FILTER~1\Ship.pwn(37) : error 052: multi-dimensional arrays must be fully initialized
C:\DOCUME~1\JTECHC~1\Desktop\NEWFOL~1\FILTER~1\Ship.pwn(43) : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
LINES
Код:
37: };
43: };
what should be there to fix it??
Reply
#2

Show us more of your code, because wtf is this lol.
Reply
#3

FIRST
Код:
{2543.50000000, -2685.00000000, 2.09999990},
{2542.39990234, -2687.00000000, 13.00000000},
{2543.39941406, -2666.00000000, 12.30000019}
};
SECOND
Код:
{-1982.57, 2052.56, 0.00,   0.00, 0.00, 144.84},
{-2178.63, 2103.67, 0.00,   0.00, 0.00, 189.24}
};
Reply
#4

Show the proper code -.-
Reply
#5

FIRST
Код:
new Float:gShipAttachmentPos[NUM_SHIP_ATTACHMENTS][3] = {
// these are world space positions used on the original cargo ship in the game
// they will be converted to model space before attaching
{2543.50000000, -2685.00000000, 2.09999990},
{2542.39990234, -2687.00000000, 13.00000000},
{2543.39941406, -2666.00000000, 12.30000019}
};
SECOND
Код:
//This is our ship route points you can modify this as to your wish
new Float:gShipRoutePoints[NUM_SHIP_ROUTE_POINTS][6] = {
{-1982.57, 2052.56, 0.00,   0.00, 0.00, 144.84},
{-2178.63, 2103.67, 0.00,   0.00, 0.00, 189.24}
};
Reply
#6

Where do you define NUM_SHIP_ROUTE_POINTS and NUM_SHIP_ATTACHMENTS
Show it, be sure that those are the same as the amount of arrays you have, so
NUM_SHIP_ATTACHMENTS should be 3
Reply
#7

yes i did 3 there n its fixed thanks rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)