/md-aitaxi

A QB-Core script that allows you to auto pilot cars and order an AI Taxi to take you to a location

Primary LanguageLua

md-aitaxi

Credits

  • Huge Credits To Bostra who has ignited my dulling fire of coding by showing me ox_lib and for being a sounding board whenever I get a weird bug

  • Big credit to Bostra if you have been around you may have seen him post some free scripts and help people. There was definetly times I dm'd him saying what the fuck am I doing and he helped keep me sane.

  • Big Credit to Project Sloth as a team and also the community. This was only made because of the big library of free scripts published by them and their community, Buy Them coffee or something.

Dependencies

How to install like a fuckin boss

  • STEP 1

    • Pet a cat
  • STEP 2

    • fill out the config to your desire

Features: Ai Taxi & AutoPilot

A | Ai Taxi:

  1. Command for Taxi:
    • Initiate the taxi call command.
  2. Taxi Spawn:
    • Taxi appears after a brief delay.
  3. Teleportation:
    • Automatically teleport into the spawned taxi.
  4. Set Waypoint:
    • Set a waypoint for the taxi to drive to.
  5. Arrival at Waypoint:
    • Upon reaching the waypoint, the taxi stops, and the door opens automatically.
    • The taxi then drives away.

B | AutoPilot:

  1. Configuration:
    • Be in a vehicle listed in Config.AutoPilotCars.
  2. Set Waypoint:
    • Choose a destination and set a waypoint.
  3. Activation Command:
    • Execute the autopilot command.
  4. Regaining Control:
    • To regain control of your vehicle, use the command "stop" OR put your hands up. It will be buggy because its based of fiveM natives and its buggy sometimes.