ByteXcripts Docs
  • 👋Welcome
  • 📸Camera Mode
    • Settings
    • Filters
  • 🚕NPC Taxi
    • Settings
    • Custom Functions
  • 🎰Roulette
    • Settings
    • Custom Functions
  • 📝Text UI
    • Settings
    • Exports
    • How to use it
  • 💊Sell Drugs
    • Settings
    • Custom Functions
  • 🏠House Robbery
    • Settings
    • Custom Functions
    • Custom Interiors
Powered by GitBook
On this page
  1. NPC Taxi

Settings

config.lua
npcTaxi = {
    ["framework"] = "qb-core", -- This value corresponds to the framework you are using (compatible -> qb-core and esx).
    ["notifications"] = "qb-core", -- This value corresponds to the notifications you are using (compatible -> qb-core, esx and custom).
    ["displayHelpText"] = "default", -- This value corresponds to the display help text you want to use (compatible -> default and custom).

    ["taxiModel"] = "taxi", -- This value corresponds to the vehicle name of the taxi.
    ["driverModel"] = "a_m_y_business_02", -- This value corresponds to the model of the taxi driver.
    ["bigTaxiModel"] = "rentalbus", -- This value corresponds to the vehicle name of the taxi.
    ["bigTaxiDriverModel"] = "a_m_y_business_02", -- This value corresponds to the model of the taxi driver.
    ["taxiCommand"] = "taxi", -- This value corresponds to the command to call a NPC Taxi.
    ["bigTaxiCommand"] = "bigtaxi", -- This value corresponds to the command to call a NPC Taxi.

    ["taxiPlate"] = "NPC TAXI", -- This value corresponds to the license plate of the taxi.
    ["vehicleStrong"] = true, -- This value corresponds to do the taxi to make it strong.
    ["vehicleEngineCanDegrade"] = false, -- This value corresponds to do the taxi engine can be degraded.
    ["vehicleCanBreak"] = false, -- This value corresponds to do the taxi engine can break.
    ["vehicleCanBeTargetted"] = false, -- This value corresponds to do the taxi can be targetted.
    ["vehicleExplodesOnHighExplosionDamage"] = false, -- This value corresponds to do the taxi can explodes on high damage.
    ["vehicleFuelLevel"] = 100.0, -- This value corresponds to do the taxi fuel level.

    ["pricePerKm"] = 60, -- This value corresponds to the price per kilometer.
    ["bigTaxiPricePerKm"] = 60, -- This value corresponds to the price per kilometer.
    ["enableAnimation"] = true, -- This value corresponds to enable/disable the animation of calling.
    ["taxiDistanceSpawn"] = 100.0, -- This value corresponds to enable/disable the animation of calling.
    ["driverAbility"] = 1.0, -- This value corresponds to the driver ability (max = 1.0, min = 0.0).
    ["driverAggressiveness"] = 0.0, -- This value corresponds to the driver aggressiveness (max = 1.0, min = 0.0).

    ["alreadyCalled"] = "Ya has pedido un taxi, espera en el lugar.", -- This value corresponds to the text when the taxi is on the way.
    ["taxiOnWay"] = "El taxi esta de camino, espere en el lugar.", -- This value corresponds to the text when the taxi is on the way.
    ["textToEnter"] = "Presiona ~INPUT_ENTER~ para entrar al taxi", -- This value corresponds to the text displayed before enter the taxi.
    ["textTaxiFull"] = "El taxi va lleno.", -- This value corresponds to the text when the taxi is full.
    ["textToSelectWaypoint"] = "Marca un destino en el mapa y presiona ~INPUT_FRONTEND_ACCEPT~ para iniciar el viaje", -- This value corresponds to the text for mark the place to go.
    ["textToConfirmWaypoint"] = "Presiona ~INPUT_FRONTEND_ACCEPT~ para iniciar el viaje al destino marcado", -- This value corresponds to the text for confirm the marked place.
    ["textToConfirmPayment"] = "El viaje costará $%d. Presiona F1 para pagar en efectivo, F2 para pagar con tarjeta, o N para cancelar.", -- This value corresponds to the text for confirm the payment.
    ["textToCancel"] = "Has cancelado el viaje en taxi.", -- This value corresponds to the text for cancel the taxi.
    ["textPaymentConfirmed"] = "Pago realizado con éxito. El viaje comenzará ahora.", -- This value corresponds to the text when the payment is confirmed.
    ["textNoMoney"] = "No tienes suficiente dinero para pagar el viaje.", -- This value corresponds to the text when the player doesn't have money.
    ["cantExitTaxi"] = "No puedes salir del taxi durante el trayecto.", -- This value corresponds to the text when you are in the way and you can't exit the taxi.
    ["reachedDestination"] = "Has llegado a tu destino. Gracias por usar nuestro servicio de taxi.", -- This value corresponds to the text when you reached the destination.
}

PreviousNPC TaxiNextCustom Functions

Last updated 4 months ago

🚕