2025-06-07 22:50:13 -04:00
|
|
|
---@diagnostic disable: duplicate-set-field
|
2025-02-06 05:33:26 -05:00
|
|
|
VehicleKey = VehicleKey or {}
|
2025-02-06 04:16:00 -05:00
|
|
|
|
2025-04-08 19:10:02 -04:00
|
|
|
---This will give keys to the specifed vehicle/plate.
|
|
|
|
|
---@param vehicle number The vehicle entity ID.
|
|
|
|
|
---@param plate string The plate of the vehicle.
|
2025-02-06 04:16:00 -05:00
|
|
|
VehicleKey.GiveKeys = function(vehicle, plate)
|
2025-04-12 02:31:47 -04:00
|
|
|
return true, Prints.Error("There Is No Vehicle Key System Installed")
|
2025-02-06 04:16:00 -05:00
|
|
|
end
|
|
|
|
|
|
2025-04-08 19:10:02 -04:00
|
|
|
---This will remove keys from the specifed vehicle/plate.
|
|
|
|
|
---@param vehicle number The vehicle entity ID.
|
|
|
|
|
---@param plate string The plate of the vehicle.
|
|
|
|
|
---@return boolean | nil
|
2025-02-06 04:16:00 -05:00
|
|
|
VehicleKey.RemoveKeys = function(vehicle, plate)
|
2025-04-12 02:31:47 -04:00
|
|
|
return true, Prints.Error("There Is No Vehicle Key System Installed")
|
2025-05-10 00:01:56 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
return VehicleKey
|