Returns vehicles car dealer ID. It consists of model + name + skin.
Used in: VCMod Main addon.
Shared VC_CD_getVehicleIDFromData(String mdl, String name, String skin)
1. String mdl; Model
Vehicles model.
2. String name; Name
Vehicles name.
3. String skin; Skin
Vehicles skin.
1. String The vehicles car dealer ID.
concommand.Add("vehicle_cd_get_id_from_data", function() local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity if IsValid(ent) then local mdl, name, skin = ent:GetModel(), ent:VC_GetName(), ent:GetSkin() print("Vehicles you are currently looking at car dealers ID is: '"..VC_CD_getVehicleIDFromData(mdl, name, skin).."'.") else print("Invalid entity.") end end)