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

OptionDefaultDescription
Locale"en"Locale file to load from locales/

Default hotkeys

Players can remap these in FiveM settings.

OptionDefaultDescription
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

OptionDefaultDescription
Vehicle.Models["taxi"]Vehicle models to spawn from
Vehicle.SpawnDistance150Approximate spawn distance in meters
Vehicle.DrivingStyle786859Driving style while en route
Vehicle.DrivingSpeed20Cruising speed
Vehicle.InitialDrivingStyle787243Style used when approaching the caller
Vehicle.InitialDrivingSpeed30Speed when approaching the caller
Vehicle.CustomLicensePlate.EnabletrueUse a custom plate
Vehicle.CustomLicensePlate.Text"TAXI"Plate text
Vehicle.FasterDrivingStyle.EnabletrueAllow players to request a faster style
Vehicle.FasterDrivingStyle.DrivingStyle787254Faster style value
Vehicle.FasterDrivingStyle.DrivingSpeed35Faster speed

Ped

OptionDefaultDescription
Ped.Models["a_m_m_bevhills_02"]Driver ped models

Fare

OptionDefaultDescription
Fare.BaseFare10Base charge
Fare.PerDistanceUnit5Charge 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

OptionDefault
Blips.Taxi.Enabletrue
Blips.Taxi.Sprite198
Blips.Taxi.Color5
Blips.Taxi.Scale1.0
Blips.Taxi.Name"Taxi"

Destination blip

OptionDefault
Blips.Destination.Enabletrue
Blips.Destination.Sprite38
Blips.Destination.Color5
Blips.Destination.Scale1.0
Blips.Destination.Name"Destination"

Ride Together

OptionDefaultDescription
RideTogether.EnabletrueAllow other players to join the ride

Taximeter

OptionDefaultDescription
Taximeter.EnabletrueShow the taximeter UI
Taximeter.Position"bottom-right"Screen position
Taximeter.WidthPercent27.5Width as a percentage of the screen
Taximeter.OffsetPercent2.5Offset from the edge

Integrations

Optional hooks for other scripts. Each entry supports:

FieldDescription
EnableTurn the hook on or off
EventNameEvent 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

OptionDefaultDescription
Misc.GodModetrueMake taxi and driver invincible
Misc.AntiStealtruePrevent players from stealing the taxi
Misc.DebugModefalseExtra logging — keep off in production

Restart the resource after saving changes.