Resources
Exports
Server

Server Exports

HasKeys

Returns whether the player has keys to the given vehicle entity

exports.qbx_vehiclekeys:HasKeys(source, vehicle)
  • source: number
  • vehicle: number

GiveKeys

Gives keys to a player so that they can unlock/lock the doors and toggle the engine. Notifies the player unless skipNotification is true.

exports.qbx_vehiclekeys:GiveKeys(source, vehicle, skipNotification)
  • source: number
  • vehicle: number
  • skipNotification?: boolean

RemoveKeys

Removes keys from the player. Notifies the player unless skipNotification is true.

exports.qbx_vehiclekeys:RemoveKeys(source, vehicle, skipNotification)
  • source: number
  • vehicle: number
  • skipNotification?: boolean