Files
community_bridge/modules/vehicleKey/_default/client/client.lua
T
MrNewb c71a261115 chore(intellisense): improve parameter annotations and add missing comments
Touched up incorrect or missing Intellisense parameter annotations across several functions. Added some missing descriptions to improve editor support. Still more to do, but this is a small step forward for overall developer workflow. Also small fix in picklexp
2025-06-07 22:50:13 -04:00

19 lines
677 B
Lua

---@diagnostic disable: duplicate-set-field
VehicleKey = VehicleKey or {}
---This will give keys to the specifed vehicle/plate.
---@param vehicle number The vehicle entity ID.
---@param plate string The plate of the vehicle.
VehicleKey.GiveKeys = function(vehicle, plate)
return true, Prints.Error("There Is No Vehicle Key System Installed")
end
---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
VehicleKey.RemoveKeys = function(vehicle, plate)
return true, Prints.Error("There Is No Vehicle Key System Installed")
end
return VehicleKey