Got problem with array
#10

new VehicleName[212][0]
Your major problem is the [0]
A dimension with the size 0 makes no sense.
For the string array you need to change it to 24 or so, for the other, just remove it and the unneccesary brackets around all the single elements:

pawn Код:
new lheli[3] = {
        417,
        548,
        563
};
This will drastically reduce the error messages.

Then remove the last , in the vInfo enum
Reply


Messages In This Thread
Got problem with array [SOLVED] - by woaha - 16.08.2010, 13:23
Re: Got problem with array - by woaha - 18.08.2010, 11:49
Re: Got problem with array - by Betamaster - 18.08.2010, 12:33
Re: Got problem with array - by woaha - 05.10.2010, 09:49
Re: Got problem with array - by Voldemort - 05.10.2010, 10:08
Re: Got problem with array - by woaha - 05.10.2010, 11:24
Re: Got problem with array - by woaha - 07.10.2010, 19:16
Re: Got problem with array - by Injection - 07.10.2010, 19:21
Re: Got problem with array - by woaha - 13.10.2010, 15:33
Re: Got problem with array - by Mauzen - 13.10.2010, 16:14

Forum Jump:


Users browsing this thread: 1 Guest(s)