πŸ”‘ Trakka – Key Management System | Realistic Vehicle Booking System

:key: Trakka – Key Management System | Realistic Vehicle Booking System :oncoming_police_car:

Created by RPWorks

Take your roleplay community to the next level with a professional, realistic vehicle key and booking system. Inspired by real-world systems like Trakka used by UK police forces, this lightweight and modern script makes vehicle management intuitive, immersive, and stylish.


:rocket: Features

  • :locked_with_key: Realistic Key Issuing System – Vehicles are only accessible if you’ve checked out the keys.
  • :brain: Smart Board UI – Modern, responsive interface for checking vehicles in/out with status indicators.
  • :toolbox: Fully In-Game Configurable – Add/edit/remove boards and vehicles on the fly, with persistent saving to JSON.
  • :office_worker: Admin Tools – Toggle out-of-service status, reset keys, or delete boards directly through the UI.
  • :round_pushpin: Custom Spawn Points – Each vehicle can have its own defined spawn location.
  • :sparkles: Vehicle Lock/Unlock Support – Complete with animations, indicator flashes, and sound support.
  • :warning: Optional Key System – Easily disable the key/locking system and integrate your own via exports.
  • :floppy_disk: Persistent Key & Vehicle States – Supports basic vehicle persistence (fuel and damage saving) and handles player disconnects.

:hammer_and_wrench: Usage

Players walk up to a Trakka board, interact via ox_target, and:

  • See a list of available vehicles.
  • Check out a vehicle (spawning it at its designated spot).
  • Return keys when done (despawning the vehicle).

Admins can:

  • Add new boards via /addtrakkaboard.
  • Configure vehicle data, labels, spawn codes, and parking positions.
  • Mark vehicles as out-of-service or reset their keys.

:repeat_button: Exports & Integration

Supports optional exports and event hooks:

exports['RPW_Trakka']:HasKeys(plate)
exports['RPW_Trakka']:IsVehicleBooked(plate)

And listens for:

  • trakka:vehicleSpawned (includes plate, net ID, model, player)

Integrate your own locking system using these hooks or disable the internal one via config.


:gear: Configuration

In config.lua:

  • AuthorizedAdmins β€” define admin permissions via identifier.
  • WebhookURL, WebhookName, WebhookAvatar β€” for optional Discord logging.
  • EnableKeySystem = true β€” toggle built-in key/locking features.

In-Game:

  • Place boards using /addtrakkaboard.
  • Configure all other settings via the NUI interface.

:camera_with_flash: Screenshots


:money_with_wings: Purchase

Grab Trakka now on [Tebex] and modernize your department’s vehicle management:
:link: https://shop.rpworksmods.com/product/6827194


Support

Check out the docs at :link: Trakka Key Management | RP Works Modding Docs
Need help or support? Join our Discord and get started today.

Code is accessible No
Subscription-based No
Lines (approximately) 1500
Requirements ox_lib & ox_target
Support Yes

Update v1.1.0

This update introduces a number of major quality of life improvements, new administration features, and important bug fixes to make the Trakka system more flexible, immersive, and reliable for live roleplay use.


Added

  • Per-vehicle ACE permission restrictions

    • Vehicles can now be restricted using ACE permissions on a per-vehicle basis

    • Restrictions are configurable in-game through the administration menu

    • Supports multiple ACE permissions per vehicle

    • Leaving the field blank makes the vehicle unrestricted and available to everyone

    • New config option to choose whether restricted vehicles are:

      • hidden from players without access, or

      • greyed out in the list

  • Vehicle key handover system

    • Players can now give vehicle keys to other players

    • Supports ox_target interaction on players for a more immersive handover flow

    • If the player only has one set of keys, they are handed over instantly

    • If the player has multiple keys, a submenu is shown allowing selection by vehicle registration

  • Command fallback for non-ox_target servers

    • Added support for /givekeys [PlayerID] [Registration]

    • If the player only has one set of keys, the registration is optional

    • Ensures the feature still works on servers not using ox_target

    • (ox_target is still required for accessing the board currently)

  • Board placement mode

    • Adding a new Trakka board now opens a proper placement mode

    • Includes a spawned preview board before placement is confirmed

    • Supports freecam movement while placing the board

    • Placement can be:

      • confirmed with Enter

      • cancelled with Escape

  • Advanced board placement gizmos

    • Added translation and rotation controls for board placement

    • Full board rotation is now supported and saved

    • Added mouse-driven gizmo dragging, allowing admins to click and drag axis handles directly rather than relying only on keybinds


Changed

  • Improved the Trakka booking flow so UI state now refreshes using confirmed server-side data rather than stale client state

  • Improved vehicle lock state handling so lock/unlock behaviour is now more reliable across all players


Fixed

  • Fixed an issue where the Trakka menu would sometimes still show a vehicle as available immediately after checking it out until the menu was closed and reopened

  • Fixed an issue where returning keys at the board would sometimes fail to delete the corresponding vehicle

  • Fixed board prop syncing issues that could result in duplicated board props after updates or refreshes

Get the update now at https://shop.rpworksmods.com