09/02/2023 15:27
boa tarde. preciso de ajuda com um problema chato....
eu deixo assim:
Funciona.
quando eu removo as quatro ultima coordenada e coloco assim:
da esse erro:
error 052: multi-dimensional arrays must be fully initialized
Não consigo resolver...
eu deixo assim:
Código:
new Float:corridacheckpoint[MAX_RACE_POINTS][18] = {
{2141.4910,-1944.1877,13.2044,269.4679},
{
2268.5332,-1732.6592,13.0400,244.4372},
{
2393.3335,-1659.2001,13.0402,270.9162},
{
2483.0596,-1788.7537,13.2108,274.0847},
{
2457.1860,-1658.2914,12.9620,91.1243},
{
2369.7346,-1524.1077,23.4853,264.1595},
{
2392.4204,-1424.9104,23.4892,0.3905},
{
2344.9822,-1300.7600,23.6593,89.3894},
{
2197.8601,-1641.4114,14.9699,170.0614},
{
2079.7043,-1809.4922,13.0409,120.9189},
{
1912.9556,-1753.5867,13.0402,107.3336},
{
1820.0884,-1867.4813,13.0746,180.9134},
{
1946.3507,-1957.8975,13.2043,268.7086},
{
1990.6389,-1901.0647,13.2097,225.8071},
{
-324.8012,1316.9939,52.8978},
{
-370.5130,1462.3467,62.6581},
{
-308.6009,1395.1691,72.2705},
{
-301.6882,1501.4779,75.5935}
};
Funciona.
quando eu removo as quatro ultima coordenada e coloco assim:
Código:
new Float:corridacheckpoint[MAX_RACE_POINTS][18] = {
{2141.4910,-1944.1877,13.2044,269.4679},
{
2268.5332,-1732.6592,13.0400,244.4372},
{
2393.3335,-1659.2001,13.0402,270.9162},
{
2483.0596,-1788.7537,13.2108,274.0847},
{
2457.1860,-1658.2914,12.9620,91.1243},
{
2369.7346,-1524.1077,23.4853,264.1595},
{
2392.4204,-1424.9104,23.4892,0.3905},
{
2344.9822,-1300.7600,23.6593,89.3894},
{
2197.8601,-1641.4114,14.9699,170.0614},
{
2079.7043,-1809.4922,13.0409,120.9189},
{
1912.9556,-1753.5867,13.0402,107.3336},
{
1820.0884,-1867.4813,13.0746,180.9134},
{
1946.3507,-1957.8975,13.2043,268.7086},
{
1990.6389,-1901.0647,13.2097,225.8071}
};
da esse erro:
error 052: multi-dimensional arrays must be fully initialized
Não consigo resolver...