Files
community_bridge/modules/vehicleKey/_default/client/client.lua
T

24 lines
745 B
Lua
Raw Normal View History

---@diagnostic disable: duplicate-set-field
2025-02-06 05:33:26 -05:00
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)
2025-09-10 12:27:12 -04:00
print("There is no compatible vehicle key resource.")
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)
2025-09-10 12:27:12 -04:00
print("There is no compatible vehicle key resource.")
end
VehicleKey.GetResourceName = function()
return "default"
end
return VehicleKey