error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error (
/showthread.php?tid=384277)
error -
shaniyal - 11.10.2012
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
what should be there to fix it??
Re: error -
Roel - 11.10.2012
Show us more of your code, because wtf is this lol.
Re: error -
shaniyal - 11.10.2012
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}
};
Re: error - Jarnu - 11.10.2012
Show the proper code -.-
Re: error -
shaniyal - 11.10.2012
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}
};
Re: error -
Roel - 11.10.2012
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
Re: error -
shaniyal - 11.10.2012
yes i did 3 there n its fixed thanks rep