Events & Exports

GetConfig

---@return table
local config = exports["mx0_carkeys"]:GetConfig()

Client Exports

giveKey

-- @param plate string Vehicle plate number
-- @param count? number Number of keys to give (default: 1)
-- @return boolean
exports["mx0_carkeys"]:giveKey(plate, count)

takeKey

-- @param plate string Vehicle plate number
-- @param count? number Number of keys to take (default: 1)
-- @return boolean
exports["mx0_carkeys"]:takeKey(plate, count)

HasVehicleKey

Hotwire

Server Exports

giveKey

takeKey

Last updated