πŸš•Waypoint AI Taxi

Overview of the Waypoint AI Taxi Script and how to configure.

Waypoint AI Taxi is a script that lets you call an AI taxi and have them drive you to your destination. AI Taxi gives your players another avenue of transportation.

Purchase Herearrow-up-right

CFX Forum Postarrow-up-right

How it works:

  • Players call an AI Taxi using the provided command and/or client events

  • When the taxi arrives, the player sets the destination on the map

  • Players have the option to tell the taxi to driver faster (configurable)

  • Multiple players can share the same taxi

  • Player is charged based on time in the taxi and is charged once they exit the taxi (configurable)

  • The player can also choose to cancel the taxi if they no longer need it

Notes:

  • In order for players to share a taxi and be able to enter the vehicle, they need to be within 50 units of the player who called the taxi.

  • When the ride is over, the taxi will drive away and will despawn after 20 seconds.

  • Multiple layers of redundancy have been implemented to assist the AI in attempting to get unstuck, should it find itself in such a situation.

  • Support for both QB and ESX, all framework functions are open source in the framework.lua file.

    • You can easily modify the script to support other frameworks by modifying the framework.lua file

Performance:

  • The script has an idle CPU time of 0.00ms

  • While in use, the CPU time is 0.05ms on the client who called the Taxi

  • On other nearby clients, the CPU time is 0.01ms, otherwise 0.00ms.

Dependencies

  • Framework: QBCore, QBox or ESX

  • Notify: QB, ESX, OX

  • Optional:

    • qb-smallresources/seatbelt.lua - or equivalent seatbelt script

      • seatbelt check can be disabled

    • Fuel script: LegacyFuel, ox_fuel, ps-fuel or equivalent fuel script - for fueling up the taxi

    • oxmysql - only needed if you want to use telemetry

Last updated