Installation
AI Taxi Script Installation Guide
Follow these simple steps to install and configure the AI Taxi script on your FiveM server:
Step 1: Download the Script
Download the latest version of the AI Taxi script from your provided source or developer's repository.
Extract the downloaded
.zip
file to a folder on your computer.
Step 2: Add the Script to Your Server
Move the extracted folder into your server's
resources
directory.Example path:
server-data/resources/[your-folder]/ai-taxi
Ensure the folder name is correct and matches the script's intended name.
Example: Rename the folder to
ai-taxi
if necessary.
Step 3: Configure fxmanifest.lua
fxmanifest.lua
Ensure your
fxmanifest.lua
includes the following entry to enable Lua 5.4 support:luaZkopírovatUpravitlua54 'yes'
This is necessary for compatibility with FiveM's encryption and modern Lua features.
Step 4: Add the Script to Your Server Config
Open your
server.cfg
file located in the root directory of your server.Add the following line to ensure the script starts:
plaintextZkopírovatUpravitensure ai-taxi
Step 5: Configure the Script
Open the
config.lua
file in a text editor.Customize the settings to suit your server:
Framework Selection: Set your server's framework to
ESX
orQBCore
.Notification System: Choose between
vms_notifyv2
,okokNotify
, or the default notification system.NPC and Destination Locations: Modify or add NPC spawn locations and available destinations with their coordinates.
Pricing: Adjust the taxi fare prices per destination in the
Config.TaxiPrices
section.Localization: Set the language to
cz
oren
, or add custom translations in theLocales
table.
Step 6: Start the Server
Save all changes to the configuration files.
Restart your FiveM server to load the script.
Join the server and test the AI Taxi functionality.
Step 7: Testing
Interact with the predefined NPCs to call a taxi.
Verify the taxi arrives at the location and the menu displays available destinations.
Confirm the fare is deducted correctly and the AI taxi drives to the chosen destination.
Optional Customization
Cooldown Adjustments: Modify the
Config.TaxiCooldown
value to set the cooldown time between taxi calls (default: 60 seconds).Notification Customization: Customize notification titles and colors in the
Notify
function withinclient.lua
.
Support
If you encounter any issues or need further assistance, refer to the developer's support documentation or contact the script's support team. https://discord.gg/Fsha5ccYVa
Enjoy the AI Taxi experience! 🚕
Last updated