[HELP] Error in the script -
Nyafe - 20.10.2009
Hello, im portuguese and I have a doubt !
How do I fix this error?
""C:\Documents and Settings\Administrator\Desktop\[GM] CodeR3d_Public Enemy_LS\gamemodes\pencr.pwn(1735) : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error. ""
};
Код:
new Menu:dmvoption[MAX_PLAYERS];
new Float:DrivingSchoolCP[31][3] = {
{-2047.318237, -78.493286, 35.043674},
{-2004.230468, -63.067325, 35.043403},
{-2004.557861, 92.230476, 27.414079},
{-2001.461181, 306.811828, 34.771896},
{-2016.024169, 322.754547, 34.890529},
{-2134.363769, 321.980102, 35.024250},
{-2238.925292, 322.899688, 35.046855},
{-2249.107177, 327.225555, 35.046890},
{-2298.212402, 411.341003, 34.885196},
{-2321.346435, 410.600982, 34.890609},
{-2423.162597, 55.284839, 34.890628},
{-2485.413818, 42.110366, 26.862459},
{-2590.423339, 41.848583, 4.056760},
{-2606.167480, 32.018920, 4.118466},
{-2606.167480, -57.042472, 4.054659},
{-2597.467041, -72.002243, 4.125582},
{-2514.526123, -72.963630, 24.342817},
{-2386.916503, -71.996078, 35.038841},
{-2273.539550, -72.938049, 35.039089},
{-2261.753173, -83.578163, 35.046840},
{-2260.035400, -177.289489, 35.046775},
{-2245.059814, -192.252777, 35.046882},
{-2164.877441, -82.917831, 35.046836},
{-2154.212402, -72.622978, 35.046878},
{-2052.066894, -72.116477, 35.042152},
{-2047.616333, -88.755950, 35.038990},
{-2025.749145, -97.650115, 35.039009},
{-2044.890747, -139.023742, 35.188522},
{-2056.534667, -222.281845, 35.198474},
{-2062.643554, -118.802627, 35.325977}
}; // THE ERROR IS HERE !
new Float:gRandomCashBank[5][3] = {
{219.3582,109.3772,1010.2118}, // 6
{264.0852,108.1809,1009.0313}, // 7
{227.4073,114.5615,999.0156}, // 8
{228.8381,122.9564,1010.2188}, // 9
{275.5621,114.2486,1008.8203} // 10
Re: Error in the script -
Nyafe - 20.10.2009
Re: Error in the script -
Virtual1ty - 20.10.2009
you can't expect from someone after 1 min that he will repply ... be patient!
Re: Error in the script -
Nyafe - 20.10.2009
I double-post without wanting the same thing
and as i can not erase, i traded for some more useful
Re: [HELP] Error in the script -
Peter_Corneile - 20.10.2009
Try this
pawn Код:
new Float:DrivingSchoolCP[29][3] = {
{-2047.318237, -78.493286, 35.043674},
{-2004.230468, -63.067325, 35.043403},
{-2004.557861, 92.230476, 27.414079},
{-2001.461181, 306.811828, 34.771896},
{-2016.024169, 322.754547, 34.890529},
{-2134.363769, 321.980102, 35.024250},
{-2238.925292, 322.899688, 35.046855},
{-2249.107177, 327.225555, 35.046890},
{-2298.212402, 411.341003, 34.885196},
{-2321.346435, 410.600982, 34.890609},
{-2423.162597, 55.284839, 34.890628},
{-2485.413818, 42.110366, 26.862459},
{-2590.423339, 41.848583, 4.056760},
{-2606.167480, 32.018920, 4.118466},
{-2606.167480, -57.042472, 4.054659},
{-2597.467041, -72.002243, 4.125582},
{-2514.526123, -72.963630, 24.342817},
{-2386.916503, -71.996078, 35.038841},
{-2273.539550, -72.938049, 35.039089},
{-2261.753173, -83.578163, 35.046840},
{-2260.035400, -177.289489, 35.046775},
{-2245.059814, -192.252777, 35.046882},
{-2164.877441, -82.917831, 35.046836},
{-2154.212402, -72.622978, 35.046878},
{-2052.066894, -72.116477, 35.042152},
{-2047.616333, -88.755950, 35.038990},
{-2025.749145, -97.650115, 35.039009},
{-2044.890747, -139.023742, 35.188522},
{-2056.534667, -222.281845, 35.198474},
{-2062.643554, -118.802627, 35.325977}
}; // THE ERROR IS HERE !
Re: [HELP] Error in the script -
Nyafe - 20.10.2009
C:\Documents and Settings\Administrator\Desktop\Tuto & License\LICENSEpencr.pwn(1733) : error 018: initialization data exceeds declared size
C:\Documents and Settings\Administrator\Desktop\Tuto & License\LICENSEpencr.pwn(1735) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Re: [HELP] Error in the script -
Nyafe - 20.10.2009
resolved
Re: [HELP] Error in the script -
Peter_Corneile - 20.10.2009
Good boy