17.07.2015, 07:47
For your array index out of bounds. I am guessing it is that IsShopVehicle will return a value -1 and you are trying to get the array with this:
I am guessing you want to call vehicleid and not IsShopVehicle[vehicleid]
Код:
VehicleInfo[IsShopVehicle[vehicleid]][vColor1] = color1; VehicleInfo[IsShopVehicle[vehicleid]][vColor2] = color2;