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-08-21 01:23:58 +02:00
|
|
|
---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
|
2025-02-06 04:16:00 -05:00
|
|
|
VehicleKey.GiveKeys = function(vehicle, plate)
|
2025-08-21 01:23:58 +02:00
|
|
|
Prints.Info("There is no compatible vehicle key resource.")
|
2025-02-06 04:16:00 -05:00
|
|
|
end
|
|
|
|
|
|
2025-08-21 01:23:58 +02:00
|
|
|
---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
|
2025-02-06 04:16:00 -05:00
|
|
|
VehicleKey.RemoveKeys = function(vehicle, plate)
|
2025-08-21 01:23:58 +02:00
|
|
|
Prints.Info("There is no compatible vehicle key resource.")
|
2025-05-10 00:01:56 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
return VehicleKey
|