Returns vehicles car dealer ID. It consists of model + name + skin.
Used in: VCMod Main addon.
Shared VC_CD_getvehicleDataFromID(String id)
1. String id; Vehicle ID
VCMod car dealers vehicle ID.
1. String Vehicles model.
2. String Vehicles name.
3. String Vehicles skin.
concommand.Add("vehicle_cd_get_data_from_id", function() local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity if IsValid(ent) then local id = ent:VC_CD_getVehicleID() print("Vehicles you are currently looking at car dealers ID is: '"..VC_CD_getvehicleDataFromID(id).."'.") else print("Invalid entity.") end end)