array must be indexed problem
#2

You need to set an appropriate index for your array.

pawn Код:
new VehiclesPrice[11][] = {
{200000},{90000},{230000},{200000},{0},{125000},{700000},
{3500000},{400000},{400000},{90000},{500000},{130000},{110000},{0}
};
You have 11 items. You can only set an unspecified size for your final dimension.

Alternatively, you're just creating integers, you can just replicate what you've done with model_array:

pawn Код:
new VehiclesPrice[] = {200000,90000,230000,200000,0,125000,700000,3500000,400000,400000,90000,500000,130000,110000,0};
Reply


Messages In This Thread
array must be indexed problem - by timaoux - 19.12.2011, 06:15
Re: array must be indexed problem - by Calgon - 19.12.2011, 06:18
Re : array must be indexed problem - by timaoux - 19.12.2011, 06:44
Re : array must be indexed problem - by timaoux - 19.12.2011, 06:47

Forum Jump:


Users browsing this thread: 1 Guest(s)