16.08.2011, 09:20
Well no wonder, look at your second snippet, you create an arrray called "VehName" and then assign the enumerated CarName variable the value of the empty array "VehName", what else do you expect to happen?
See? Of course that array is going to be empty, you're never storing anything into it in that context! Where are you trying to get the value of the array from?
pawn Код:
new VehName[60];
CarInfo[ID][Owned] = 1;
CarInfo[ID][VehicleNames] = VehName;