Hi ... I'm trying to determine both the jbeam name and the config_key on the players "default" vehicle. I already get these values this way ... local currentJbeam = vehicle.jbeam local vehicleDetails = core_vehicles.getVehicleDetails(vid) local pcName = vehicleDetails.current.config_key This works, but not for the default vehicle. For example if current (not default) vehicle was the MD60 Flatbed, then jbeam/config values would ... "md_series" and "md_60_flatbed". But for default vehicle the config_name shows as "default".
The default vehicle is saved as an additional .pc file in the settings folder in your userfolder. The game has no idea where this originated, if its custom or a vanilla config. All it knows is that the car is an MD Series with the specific parts.
Thanks. I didn't understand how the config file was working in that regards. I'll have to settle with knowing that its a "md_series" (or whichever).