refactor: keep only msk_core integration per maintainer guidelines

Remove msk_fuel and msk_vehiclekeys providers (below 100-server
threshold). Retain msk_core Notify + ProgressBar integration.
This commit is contained in:
Musiker15 committed 2026-06-29 18:19:27 +02:00
1 parent 48c58f45e0
commit 93f4545c9d
3 files changed
+2 -68

No files matched your search

@@ -1,33 +0,0 @@
---@diagnostic disable: duplicate-set-field
local resourceName = "msk_vehiclekeys"
if GetResourceState(resourceName) == 'missing' then return end
VehicleKey = VehicleKey or {}
---Gives the player (self) the keys of the specified vehicle.
---@param vehicle number The vehicle entity handle.
---@param plate? string The plate of the vehicle.
---@return nil
VehicleKey.GiveKeys = function(vehicle, plate)
assert(vehicle, "vehicle is nil")
assert(DoesEntityExist(vehicle), "vehicle does not exist")
exports.msk_vehiclekeys:AddPrimaryKey(vehicle)
end
---Removes the keys of the specified vehicle from the player (self).
---@param vehicle number The vehicle entity handle.
---@param plate? string The plate of the vehicle.
---@return nil
VehicleKey.RemoveKeys = function(vehicle, plate)
assert(vehicle, "vehicle is nil")
assert(DoesEntityExist(vehicle), "vehicle does not exist")
exports.msk_vehiclekeys:RemovePrimaryKey(vehicle)
end
VehicleKey.GetResourceName = function()
return resourceName
end
return VehicleKey