[ESX/QB] Taximeter for Taxijob


QB UPDATE

Discord

Tebex

Preview

Features for Future

  • Taxi drivers can set their own price

Features

  • Specific Vehicles: The taxi meter can be restricted to operate only in designated taxi vehicles defined in the config.lua.

  • All vehicles option: Alternatively, you can enable the taximeter to work in all vehicles in the config.lua for players with the taxi job, which provides more flexibility.

User Interface (NUI)

  • The NUI can be positioned and styled via style.css, allowing for aesthetic customization to match server themes.

  • The fare is consistently updated and displayed for all players inside the taxi, including both the driver and passengers.

  • A sleek and modern NUI interface displays the current fare in digital style

  • The fare is automatically calculated based on the total distance traveled, using a configurable price per kilometer Config.PricePerKM.

  • Control Buttons
    -Start Button: Initiates the taxi meter.
    -Stop Button: Stops the taxi meter and resets fare calculations.

  • The UI dynamically shows or hides based on user interactions and script events, ensuring a clean interface.

Updatet Version Clean NUI



Multiple Notification Types:

  • Standard Notifications: Utilizes the built-in GTA notification system for alerts.
  • okokNotify Integration: Supports okokNotify for enhanced and customizable notifications (optional).
  • ESX Notifications: Leverages ESX’s native notification system for seamless integration.
  • Disable Notifications: Option to completely disable notifications if desired.

Configurable Notification Texts:

  • All notification messages can be customized via the config.lua, allowing server administrators to tailor messages to their preferences.

Customizable Controls:

  • Administrators can define which keys toggle the NUI, hide the NUI, and show the fare meter through the config.lua.
  • Default key bindings include the Up Arrow, Down Arrow, and Right Arrow.

Support for multiple taxi buses

  • Add multiple jobs as you want
A B
Code is accessible No
Subscription-based No
Lines (approximately) 290
Requirements no
Support Yes
1 Like

Hey, this taximeter script is fantastic! I love the flexibility you’ve built in, especially with the option to restrict it to specific taxi vehicles or enable it for all vehicles with the taxi job. The NUI customization through style.css is a great touch too—being able to style it to match the server’s theme really makes a difference.

The automatic fare calculation based on distance is super convenient, and it’s awesome that both drivers and passengers can see the fare in real-time. The sleek digital interface looks modern and professional, and the dynamic visibility of the UI is a smart way to keep things clean.

I also appreciate how customizable everything is, from the control bindings to the notification system. Having support for okokNotify, ESX notifications, or even turning them off entirely gives so much flexibility.

Overall, it’s a solid release that adds a lot of immersion to the taxi job. Thanks for this awesome contribution!

1 Like