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
19 lines
677 B
Lua
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 |