Error 52:
#1

Hello SA-MP.


I've Been Having Trouble, I've Tryed looking Around, in My Code for an Unused ',' or Somthing, or an Uncorrected Bracket.

But I Just dont seem to be Having any Luck,


The Current Error(s):
Код:
'
Line 430: error 052: multi-dimensional arrays must be fully initialized
Line 435: error 052: multi-dimensional arrays must be fully initialized
The Current Code:
Код:
new playerCheckpoint[MAX_PLAYERS];
new Float:checkpoints[MAX_POINTS][4] =
{
{1481.0179,-1772.3137,18.7958,179.4715},
{390.7694,173.7693,1008.3828,270.9657},
{361.8299,173.6567,1008.3828,91.1341},
{1555.5005,-1675.6207,16.1953,269.1092},
{246.8179,62.3232,1003.6406,175.1083},
{250.0561,69.5700,1003.6406,269.1092},
{2034.1188,-1401.6702,17.2943,355.3235},
{1172.0769,-1323.3386,15.4030,89.0111},
{776.4000,-1036.1903,24.2749,13.2071},
{227.4415,-8.2005,1002.2109,269.1795},
{206.3747,-7.2560,1001.2109,89.6612},
{2424.2207,-1742.8031,13.5457,228.1558},
{-27.3811,-58.1703,1003.5469,178.0689},
{-22.2808,-55.6920,1003.5469,174.9355},
{1457.0692,-1009.9320,26.8438,0.4512},
{1467.3082,-1009.9213,26.8438,1.7045},
{-2158.6323,643.1421,1052.3750,359.2213},
{-2161.2502,640.3590,1052.3817,180.3297},
{2001.8146,-1761.9600,13.5391,181.8965},
{-30.9841,-92.0088,1003.5469,179.4131},
{-27.0088,-89.9338,1003.5469,180.6665},
{2467.0530,-1744.2380,13.5539,178.8328},
{-2240.7820,137.2399,1035.4141,91.7722},
{-2237.0525,130.1780,1035.4141,180.4464},
{1679.9143,-1832.8108,13.5469,89.7168},
{-229.2944,1401.2043,27.7656,90.9701},
{-224.7809,1404.6797,27.7734,269.5484},
{1833.7808,-1842.6022,13.5781,273.9471},
{-27.3538,-58.2678,1003.5469,178.7163},
{-22.2130,-55.6977,1003.5469,174.6429},
{1038.1066,-1340.7211,13.7450,183.1027},
{377.0845,-193.3048,1000.6328,180.3060},
{380.7238,-190.5347,1000.6328,358.5943},
{499.4857,-1360.6165,16.3691,157.9095},
{207.0029,-140.3765,1003.5078,181.0964},
{206.3662,-129.1775,1003.5078,357.1914},
{1087.6233,-922.4807,43.3906,358.8827},
{-100.3949,-25.0375,1000.7188,179.9910},
{-104.7797,-10.6186,1000.7188,358.5693},
{532.6478,-1812.9915,6.5781,90.3786},
{493.4240,-24.9008,1000.6719,174.0160},
{499.9691,-20.5696,1000.6797,267.7036},
{1928.5840,-1776.2954,13.5469,92.2587},
{-25.9206,-141.5599,1003.5469,179.9929},
{-20.9709,-138.6480,1003.5469,179.0764},
{2070.6274,-1793.8330,13.5469,89.1489},
{411.6017,-23.1647,1001.8047,179.3898},
{414.7537,-23.1516,1001.8047,267.4373},
{2105.4878,-1806.5358,13.5547,268.0874},
{372.3560,-133.5238,1001.4922,176.9300},
{374.7595,-118.8069,1001.4995,358.9550},
{2068.5798,-1779.8235,13.5596,90.4492},
{-204.3818,-27.3475,1002.2734,178.4967},
{-201.9783,-25.0190,1002.2734,285.3443},
{2229.9104,-1721.2664,13.5614,312.8239},
{772.2845,-5.5036,1000.7285,178.4262},
{771.8828,5.4376,1000.7802,91.3187},
{769.7952,14.4342,1000.6978,179.3662},
{756.2292,9.2551,1000.7004,91.0054},
{810.4847,-1616.1741,13.5469,90.0886},
{362.8539,-75.1458,1001.5078,132.0291},
{373.6976,-65.5324,1001.5078,269.8971},
{1328.1185,-1271.2838,13.5469,359.4645},
{-27.3053,-31.7590,1003.5573,179.9697},
{-29.7832,-28.9387,1003.5573,184.6697},
{1734.5999,-1265.2507,13.5420,319.7177},
{1368.9994,-1279.6973,13.5469,261.4606},
{315.7459,-143.6609,999.6016,177.7998},
{308.1116,-141.4639,999.6016,181.2466},
{305.3518,-141.9166,1004.0625,91.2957},
{304.5860,-141.8802,1004.0625,268.0169},
{928.9163,-1352.9823,13.3438,265.8467},
{364.8945,-11.6860,1001.8516,180.6426},
{370.8492,-6.0173,1001.8589,358.6176},
{-1689.7251,1037.2744,45.2109,357.6077},
{-1694.7216,1035.6541,45.2109,89.7053},
{-2113.3455,-2460.3894,30.6250,228.8497},
{-2093.6870,-2464.9250,30.6250,140.8023},
{296.9170,-112.0693,1001.5156,178.4026},
{290.2147,-109.7823,1001.5156,179.6560},
{681.6154,-473.3529,16.5363,0.1611},
{681.4891,-444.8426,-25.6172,358.9313},
{681.5853,-453.8319,-25.6172,178.7629},
{661.3607,-573.4070,16.3359,272.4738},
{662.6417,-573.4384,16.3359,90.1589},
{665.3272,-568.2598,16.3433,358.0380},
{243.2945,-178.3436,1.5822,266.8470},
{285.7941,-86.7292,1001.5229,178.5095},
{293.9234,-80.7996,1001.5156,175.6895},
{252.0786,-56.2811,1.5703,358.6779},
{1277.0303,370.8873,19.5547,69.5388},
{411.9867,-54.4466,1001.8984,176.0732},
{410.5627,-53.8335,1001.8984,89.3024},
{2333.0952,61.6192,26.7058,88.4092},
{285.4166,-41.7596,1001.5156,180.5066},
{294.5356,-38.5149,1001.5156,178.9399}
}; //LINE 430

new Float:checkCoords[MAX_POINTS][4] = {
{1471.0179,-1782.3137,19.7958,169.4715},
{380.7694,183.7693,1018.3828,260.9657}
}; //LINE 435
Cheers.
Reply
#2

You're using SetPlayerCheckPoint to set it or some other function?

if SetPlayerCheckPoint you can't make a Float as the fourth position of coordinations.
Reply
#3

We'll it Worked Before, with the Old Coords?

EDIT:


Its Not On that Callback.
Reply
#4

Answer for my question, please.
Reply
#5

Its NOT on SetPlayerCheckpoint.
Reply
#6

Then tell me on what function, yes?
Reply
#7

In None, this is NOT Creating the Checkpoints,
Reply
#8

Then check this.

pawn Код:
#define MAX_POINTS  (your count of checkpoints)
Here you got only:

pawn Код:
new Float:checkCoords[MAX_POINTS][4] =
{
{1471.0179,-1782.3137,19.7958,169.4715},
{380.7694,183.7693,1018.3828,260.9657}
};
Two coordinations with MAX_POINTS bigger than two i think? because largest list is over this variable. Remove MAX_POINTS from this two and then try to compile.
Reply
#9

Your Correct, About the Max Points - Ah How Stupid ov' Me, One Second.


EDIT:

Thankyou Alot, i Should of Realized GAH!


Cheers Once Again for Your Help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)