Configuration
Every customer-facing option — locale, hotkeys, vehicles, fare, blips, taximeter, and more.
Settings live in config.json at the root of the gtm-ai-taxi resource.
Locale
| Option | Default | Description |
|---|---|---|
Locale | "en" | Locale file to load from locales/ |
Default hotkeys
Players can remap these in FiveM settings.
| Option | Default | Description |
|---|---|---|
DefaultHotkeys.EnterTaxi | "E" | Enter or exit the taxi |
DefaultHotkeys.ConfirmDestination | "E" | Confirm the destination |
DefaultHotkeys.ChangeDestination | "H" | Change destination |
DefaultHotkeys.ChangeDrivingStyle | "G" | Toggle faster driving |
Commands & events
See Commands & Events for Commands and Events options.
Vehicle
| Option | Default | Description |
|---|---|---|
Vehicle.Models | ["taxi"] | Vehicle models to spawn from |
Vehicle.SpawnDistance | 150 | Approximate spawn distance in meters |
Vehicle.DrivingStyle | 786859 | Driving style while en route |
Vehicle.DrivingSpeed | 20 | Cruising speed |
Vehicle.InitialDrivingStyle | 787243 | Style used when approaching the caller |
Vehicle.InitialDrivingSpeed | 30 | Speed when approaching the caller |
Vehicle.CustomLicensePlate.Enable | true | Use a custom plate |
Vehicle.CustomLicensePlate.Text | "TAXI" | Plate text |
Vehicle.FasterDrivingStyle.Enable | true | Allow players to request a faster style |
Vehicle.FasterDrivingStyle.DrivingStyle | 787254 | Faster style value |
Vehicle.FasterDrivingStyle.DrivingSpeed | 35 | Faster speed |
Ped
| Option | Default | Description |
|---|---|---|
Ped.Models | ["a_m_m_bevhills_02"] | Driver ped models |
Fare
| Option | Default | Description |
|---|---|---|
Fare.BaseFare | 10 | Base charge |
Fare.PerDistanceUnit | 5 | Charge per distance unit |
Fare.DistanceUnit | "kilometers" | "kilometers" or "miles" |
Fare.CurrencySymbol | "$" | Currency symbol on the taximeter |
Fare.CollectWhen | "onEnter" | "onEnter" or "onExit" |
Fare.Preference | "cash" | Prefer "cash" or "bank" (falls back if needed) |
Blips
Taxi blip
| Option | Default |
|---|---|
Blips.Taxi.Enable | true |
Blips.Taxi.Sprite | 198 |
Blips.Taxi.Color | 5 |
Blips.Taxi.Scale | 1.0 |
Blips.Taxi.Name | "Taxi" |
Destination blip
| Option | Default |
|---|---|
Blips.Destination.Enable | true |
Blips.Destination.Sprite | 38 |
Blips.Destination.Color | 5 |
Blips.Destination.Scale | 1.0 |
Blips.Destination.Name | "Destination" |
Ride Together
| Option | Default | Description |
|---|---|---|
RideTogether.Enable | true | Allow other players to join the ride |
Taximeter
| Option | Default | Description |
|---|---|---|
Taximeter.Enable | true | Show the taximeter UI |
Taximeter.Position | "bottom-right" | Screen position |
Taximeter.WidthPercent | 27.5 | Width as a percentage of the screen |
Taximeter.OffsetPercent | 2.5 | Offset from the edge |
Integrations
Optional hooks for other scripts. Each entry supports:
| Field | Description |
|---|---|
Enable | Turn the hook on or off |
EventName | Event name to trigger |
Environment | "client", "server", or "both" |
Available hooks: OnTaxiSpawn, OnDriverSpawn, OnCleanup, OnFareCollected, OnNotPaying, OnDestinationReached.
All are disabled by default. See Commands & Events for enable examples and Lua / JavaScript / C# listeners.
Misc
| Option | Default | Description |
|---|---|---|
Misc.GodMode | true | Make taxi and driver invincible |
Misc.AntiSteal | true | Prevent players from stealing the taxi |
Misc.DebugMode | false | Extra logging — keep off in production |
Restart the resource after saving changes.