Vehicle keys
Vehicle keys. bridge.vehiclekeys grants or removes keys for a vehicle entity.
bridge.vehiclekeys grants or removes keys for a vehicle entity.
Auto-detect order: MrNewbVehicleKeys → kora_vehiclekeys → jg-vehiclekeys → qbx_vehiclekeys → cd_garage → mVehicle → okokGarage → qb-vehiclekeys → vehicles_keys → wasabi_carlock → Renewed-Vehiclekeys → mk_vehiclekeys → ak47_vehiclekeys → 0r-vehiclekeys.
When MrNewbVehicleKeys is the active key resource, these calls route into its grant/revoke flow.
- kora_vehiclekeys and jg-vehiclekeys are checked before
qbx_vehiclekeysandqb-vehiclekeysbecause they provide those names. - kora_vehiclekeys has no client exports, so client
give/removedo nothing on it. Servergivestores a session key that lasts until the player disconnects. - wasabi_carlock receives the vehicle's model with a server grant, so the right key item is used.
For plate changes, lock profiles, rentals, and temp keys, call the key resource's own exports. This page is only the bridge wrapper.
-- Server (authoritative)
bridge.vehiclekeys.give(source, vehicle)
-- Client — only providers with real client exports (e.g. MrNewbVehicleKeys)
bridge.vehiclekeys.give(cache.vehicle)