16.07.2012, 18:33
Hello i get those two errors here:
and it's about the checkpoints, ill post them here
i made a arrow kinda so you can see, where the two error lines is
Thanks
PHP код:
C:\Users\Kajinth\Desktop\SAMP\gamemodes\SF-CNR.pwn(2512) : error 052: multi-dimensional arrays must be fully initialized
C:\Users\Kajinth\Desktop\SAMP\gamemodes\SF-CNR.pwn(2604) : error 052: multi-dimensional arrays must be fully initialized
pawn Код:
//Variables
new Float:checkCoords[MAX_POINTS][4] = {
{-1605.5288,712.4097,13.8714,3.0}, //SFPDEnt
{246.4093,109.0884,1003.2188,3.0}, //SFPDExit
{-1606.3319,673.9650,-5.2422,3.0}, //DropOff
{-1493.4175,920.0615,7.1875,3.0}, //BankEnt
{2305.5889,-16.2092,26.7496,3.0}, //BankExit
{2315.8198,-7.2530,26.7422,3.0}, //BankMain
{-1222.6882,738.9059,6.6299,3.0}, //
{288.6720,170.1256,1007.1794,3.0}, //
{238.6524,140.8584,1003.0234,3.0}, //
{297.5231,183.4510,1007.1719,3.0}, //
{-1754.1787,962.3545,24.8828,3.0}, //
{246.7218,63.4211,1003.6406,3.0}, //
{-2442.7930,754.4579,35.1719,3.0}, //SupaSaveEnt
{6.2157,-30.8714,1003.5494,3.0}, //SupaSaveExit
{1.6692,-28.4267,1003.5494,3.0}, //SupaSaveMain
{-2099.6882,899.1699,76.7109,3.0}, //DrugHouseCaltonHeights
{-2779.9194,0.3026,10.0625,3.0}, //DrugHouseOceanFlats
{-2576.4824,818.9226,49.9844,3.0}, //DrugHouseParadiso
{-2433.7866,1281.6011,23.7422,3.0}, //DrugHouseJuniperHollow
{-1547.4066,123.6555,3.5547,5.0}, //ShipYard
{-1657.7573,1210.2754,7.2500,3.0}, //OttoCP
{-1923.3926,303.6380,41.0469,3.0}, //BombShop
{-1308.1965,796.5082,6.6299,3.0}, //
{-1496.3555,796.4011,7.1875,3.0}, //
{373.0567,-65.5078,1001.5078,3.0}, //BurgerShotMain
{370.7744,-6.5378,1001.8589,3.0}, //CluckinBellMain
{294.0775,-40.7211,1001.5156,3.0}, //Ammunation
{499.5635,-18.8676,1000.6719,3.0}, //GayDarMain
{-2235.2788,130.4634,1035.4141,3.0}, //ZeroMain
{495.6589,-75.4557,998.7578,3.0}, //MistysMain
{754.6652,-41.0422,1000.5859,3.0}, //GYM
{-2032.9712,-117.4418,1035.1719,3.0}, //School
{-1951.9911,300.2070,35.4688,3.0}, //WangCars
{-1972.4688,117.8655,27.6940,3.0}, //Train
{421.5031,-76.8336,1001.8047,3.0}, //Barbers
{-2765.7402,375.5952,6.3347,3.0}, //CityHall
{-2658.3201,639.5060,14.4531,3.0}, //Hospital
{-2656.2332,1416.1669,906.2734,3.0}, //Jizzys
{376.7648,-119.4542,1001.4995,3.0}, //PizzaMain
{162.8374,-83.6908,1001.8047,3.0}, //ZipMain
{205.6493,-10.6077,1001.2109,3.0}, //VictimMain
{206.2597,-100.7781,1005.2578,3.0}, //BincoMain
{389.2351,173.7753,1008.3828,3.0}, //CityHallExit
{362.0905,173.7759,1008.3828,3.0}, //CityHallMain
{2581.4673,2148.2505,10.8203,5.0}, // trash object 115
{2062.6243,2238.9121,10.1745,5.0}, // trash object 116
{2297.3096,1567.2032,10.8203,5.0}, // trash object 117
{2121.1802,1232.1056,10.8203,5.0}, // trash object 118
{2198.5732,937.0938,10.8203,5.0}, // trash object 119
{2049.3103,658.2263,11.3006,5.0}, // trash object 120
{1654.0845,1080.9868,10.8203,5.0}, // trash object 121
{1286.5367,1252.1665,10.8203,5.0}, // trash object 122
{824.2954,856.6764,12.0343,5.0}, // trash object 123
{-1689.0303,683.4731,21.7940,5.0}, // trash object 124
{-1808.2322,-1649.6141,23.6609,5.0}, // trash object 125
{1599.9943,2220.9233,11.0625,4.0}, // 24 7 shop 126
{2189.4114,2469.1099,11.2422,4.0}, // 24 7 shop 127
{2637.3494,1127.8949,11.1797,4.0}, // 24 7 shop 128
{2117.3906,898.2151,11.1797,4.0}, // 24 7 shop 129
{662.1166,1717.9940,7.1875,4.0}, // 24 7 shop 130
{2151.1006,2735.6091,11.1763,4.0}, // 24 7 shop 131
{-320.296875,1048.953247, 20.340259,3.0}, // other hopsital in lv 132
{-143.883773,1225.218750, 19.899219,3.0}, // other dounts shop 133
{2634.614501,1716.999755, 11.031209,3.0}, // bank in group 134
{2355.237060,1602.080810, 10.820312,4.0}, // bank behind group 135
{-857.973144,1535.365844, 22.587043,2.0}, // other casino 136
{-940.053161,2641.984863, 42.364814,3.0}, // boatshop 137
{-179.995285,1132.877563, 19.742187,3.0}, // old bank 138
{-179.640441,1087.562011, 19.742187,1.0}, // old bar in area 139
{-314.319000,1774.537353, 43.640625,3.0}, // Old bat 2 in area 140
{681.45, -444.64, -25.62, 3.0}, // old bars exit 141
{1691.434570,1850.692260, 10.820312,3.0}, // other car shop xD 142
{-19.037048,1175.225708, 19.563381,2.0}, // shop somewhere xD 143
{-255.149505,2603.327880, 62.858154,2.0}, // resturant 144
{-217.844635,979.039978, 19.503858,2.0} // sherief 145
}; ///////////////////////////////////////////////////////////////<--------------
new Float:checkpoints[MAX_POINTS][4] = {
{-1605.5288,712.4097,13.8714,3.0}, //SFPDEnt
{246.4093,109.0884,1003.2188,3.0}, //SFPDExit
{-1606.3319,673.9650,-5.2422,3.0}, //DropOff
{-1493.4175,920.0615,7.1875,3.0}, //BankEnt
{2305.5889,-16.2092,26.7496,3.0}, //BankExit
{2315.8198,-7.2530,26.7422,3.0}, //BankMain
{-1222.6882,738.9059,6.6299,3.0}, //
{288.6720,170.1256,1007.1794,3.0}, //
{238.6524,140.8584,1003.0234,3.0}, //
{297.5231,183.4510,1007.1719,3.0}, //
{-1754.1787,962.3545,24.8828,3.0}, //
{246.7218,63.4211,1003.6406,3.0}, //
{-2442.7930,754.4579,35.1719,3.0}, //SupaSaveEnt
{6.2157,-30.8714,1003.5494,3.0}, //SupaSaveExit
{1.6692,-28.4267,1003.5494,3.0}, //SupaSaveMain
{-2099.6882,899.1699,76.7109,3.0}, //DrugHouseCaltonHeights
{-2779.9194,0.3026,10.0625,3.0}, //DrugHouseOceanFlats
{-2576.4824,818.9226,49.9844,3.0}, //DrugHouseParadiso
{-2433.7866,1281.6011,23.7422,3.0}, //DrugHouseJuniperHollow
{-1547.4066,123.6555,3.5547,5.0}, //ShipYard
{-1657.7573,1210.2754,7.2500,3.0}, //OttoCP
{-1923.3926,303.6380,41.0469,3.0}, //BombShop
{-1308.1965,796.5082,6.6299,3.0}, //
{-1496.3555,796.4011,7.1875,3.0}, //
{373.0567,-65.5078,1001.5078,3.0}, //BurgerShotMain
{370.7744,-6.5378,1001.8589,3.0}, //CluckinBellMain
{294.0775,-40.7211,1001.5156,3.0}, //Ammunation
{499.5635,-18.8676,1000.6719,3.0}, //GayDarMain
{-2235.2788,130.4634,1035.4141,3.0}, //ZeroMain
{495.6589,-75.4557,998.7578,3.0}, //MistysMain
{754.6652,-41.0422,1000.5859,3.0}, //GYM
{-2032.9712,-117.4418,1035.1719,3.0}, //School
{-1951.9911,300.2070,35.4688,3.0}, //WangCars
{-1972.4688,117.8655,27.6940,3.0}, //Train
{421.5031,-76.8336,1001.8047,3.0}, //Barbers
{-2765.7402,375.5952,6.3347,3.0}, //CityHall
{-2658.3201,639.5060,14.4531,3.0}, //Hospital
{-2656.2332,1416.1669,906.2734,3.0}, //Jizzys
{376.7648,-119.4542,1001.4995,3.0}, //PizzaMain
{162.8374,-83.6908,1001.8047,3.0}, //ZipMain
{205.6493,-10.6077,1001.2109,3.0}, //VictimMain
{206.2597,-100.7781,1005.2578,3.0}, //BincoMain
{389.2351,173.7753,1008.3828,3.0}, //CityHallExit
{362.0905,173.7759,1008.3828,3.0}, //CityHallMain
{2581.4673,2148.2505,10.8203,5.0}, // trash object 115
{2062.6243,2238.9121,10.1745,5.0}, // trash object 116
{2297.3096,1567.2032,10.8203,5.0}, // trash object 117
{2121.1802,1232.1056,10.8203,5.0}, // trash object 118
{2198.5732,937.0938,10.8203,5.0}, // trash object 119
{2049.3103,658.2263,11.3006,5.0}, // trash object 120
{1654.0845,1080.9868,10.8203,5.0}, // trash object 121
{1286.5367,1252.1665,10.8203,5.0}, // trash object 122
{824.2954,856.6764,12.0343,5.0}, // trash object 123
{-1689.0303,683.4731,21.7940,5.0}, // trash object 124
{-1808.2322,-1649.6141,23.6609,5.0}, // trash object 125
{1599.9943,2220.9233,11.0625,4.0}, // 24 7 shop 126
{2189.4114,2469.1099,11.2422,4.0}, // 24 7 shop 127
{2637.3494,1127.8949,11.1797,4.0}, // 24 7 shop 128
{2117.3906,898.2151,11.1797,4.0}, // 24 7 shop 129
{662.1166,1717.9940,7.1875,4.0}, // 24 7 shop 130
{2151.1006,2735.6091,11.1763,4.0}, // 24 7 shop 131
{-320.296875,1048.953247, 20.340259,3.0}, // other hopsital in lv 132
{-143.883773,1225.218750, 19.899219,3.0}, // other dounts shop 133
{2634.614501,1716.999755, 11.031209,3.0}, // bank in group 134
{2355.237060,1602.080810, 10.820312,4.0}, // bank behind group 135
{-857.973144,1535.365844, 22.587043,2.0}, // other casino 136
{-940.053161,2641.984863, 42.364814,3.0}, // boatshop 137
{-179.995285,1132.877563, 19.742187,3.0}, // old bank 138
{-179.640441,1087.562011, 19.742187,1.0}, // old bar in area 139
{-314.319000,1774.537353, 43.640625,3.0}, // Old bat 2 in area 140
{681.45, -444.64, -25.62, 3.0}, // old bars exit 141
{1691.434570,1850.692260, 10.820312,3.0}, // other car shop xD 142
{-19.037048,1175.225708, 19.563381,2.0}, // shop somewhere xD 143
{-255.149505,2603.327880, 62.858154,2.0}, // resturant 144
{-217.844635,979.039978, 19.503858,2.0} // sherief 145
};//////////////////////////////////////////////////////////////<--------------
Thanks