Keep it as:
pawn Код:
stock CreateVehicleEx(vehicleModel, Float:vxSpawn, Float:vySpawn, Float:vzSpawn, Float:vangleSpawn, vehicleColor1, vehicleColor2, vehicleRespawn, vehicleOwner[], vehiclePrice, bool:vehicleBuyable)
Never assign directly to copy strings like this:
pawn Код:
VehicleInfo[vehicleid][vOwner] = vehicleOwner;
that is not the correct way. You can use strcpy:
pawn Код:
#if !defined strcpy
#define strcpy(%0,%1) strcat((%0[0] = EOS, %0), %1)
#endif
and usage:
pawn Код:
strcpy(destination, source, size);
size is optional but you have to specify it if it enum-array. So that would be:
pawn Код:
strcpy(VehicleInfo[vehicleid][vOwner], vehicleOwner, MAX_PLAYER_NAME);
Last, add a size to "vehicleOwner" in the enum:
pawn Код:
vehicleOwner[MAX_PLAYER_NAME],
Doing the all the above makes it compile.