11.03.2011, 14:33
Hello guys,
I have this little code. I actually wanted to upgrade my Race System, but this array kinda fails. I just can't get the error away.
Gives me:
I really hope that someone can help me with this, or/and tell me the solution how to fix this.
Regards,
Jeffry
I have this little code. I actually wanted to upgrade my Race System, but this array kinda fails. I just can't get the error away.
pawn Код:
#include <a_samp>
new RaceCheckpoints[10][10][10] =
{
//Desert Storm
{
{228,2504,16,8,0},
{135,2504,16,8,0},
{-148,2503,23,8,0},
{1098,1612,12,8,1}
},
//Grand Cheetah
{
{-375,1440,60,12,0},
{-375,1440,60,12,0},
{-302,1518,74,12,1},
{-302,1518,74,12,1},
{-302,1518,74,12,1}
}
};
public OnFilterScriptInit()
{
printf("%d", RaceCheckpoints[1][1][1]);
return 1;
}
Код:
(18) : error 018: initialization data exceeds declared size
Regards,
Jeffry