Biyei Store
  • โ„น๏ธInformation
    • ๐Ÿ‘‹Welcome
    • ๐Ÿ”FiveM Asset Escrow System
  • ๐ŸงพScripts
    • ๐Ÿ”ซVip Weapons
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ†Arenas PvP
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โฌ†๏ธExports
      • ๐ŸŽ’Statesbags
      • โš’๏ธCommon issues
    • ๐Ÿ”ซSkin Changer
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • โœ…SafeZones
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • ๐ŸŽ’Statebags
      • โš’๏ธCommon issues
    • ๐Ÿ“›Red Zones
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • โญPartner Code System
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ“Announcement System
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿช™Coins + Reward System
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐ŸšจDefcon Alert
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐ŸจDepartment
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ“ฆCustom Box Creator
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ‘ทโ€โ™€๏ธMultipleJobs
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
  • ๐ŸŒŒOld Scripts
    • ๐Ÿš˜xVehicleRent
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ‘ทโ€โ™€๏ธxMultipleJobs
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • โš›๏ธxStorm
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • โฌ†๏ธxLift
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ”ซhPaintball
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿš—hVehicleShop
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
Powered by GitBook
On this page
  1. Old Scripts
  2. xVehicleRent

Configuration

This is the configuration that you can give to this script to modify it to your liking

It is important to choose your framework

Config File

Config = {}

Config.Debug = false

Config.Framework = 'qb-core' --- You can change Framework 'esx' or 'qb-core'

Config.DistanceDraw = 20

Config.DrawMarker = true
Config.MarkerType = 23
Config.MarkersSize = {x = 0.4, y = 0.4, z = 0.4}
Config.MarkersColor = {r = 0, g = 255, b = 0, a = 255}

Config.FuelSystem = true
Config.FuelSystemResource = 'LegacyFuel'

Config.DistanceOccupiedSpawn = 5.0


Config.Traget = true --- qb-target and ox-target tested.

Config.TimerPosition = 'bottom-center' --- 'bottom-center', 'top-center', 'left', 'bottom-left', 'top-left', 'right', 'bottom-right', 'top-right'

Config.RentsLocations = {
    {
        ped_model = 'a_m_y_business_03', --- Only if you use target
        target_icon = 'fa-solid fa-car',
        label = 'Rent Vehicle',
        coords = vector4(-239.2683, -988.3106, 28.2882, 268.1364),
        vehicle_spawn = vector4(-235.4658, -987.9895, 28.7584, 160.6611),
        blip_label = 'Rent Vehicles',
        blip_sprite = 289,
        blip_scale = 0.6,
        blip_color = 2
    },

}

Config.VehiclesRent = {
    {
        label = 'T20',
        model = 't20',
        cost = 100
    },
    {
        label = 'Kuruma',
        model = 'kuruma',
        cost = 100
    },
    {
        label = 'Sanchez',
        model = 'sanchez',
        cost = 100
    },
    {
        label = 'BMX',
        model = 'bmx',
        cost = 100
    },
}

Config.Translation = {
    ['rented_vehicle'] = 'Vehicle rented successfully',
    ['no_enough_money'] = 'You don\'t have enough money.',
    ['vehicle_spawn_occupied'] = 'You cannot rent the vehicle because the spawn space is occupied.',
    ['already_rented'] = 'You have already rented one vehicle, you cannot rent two.',
    ['vehicle_returned'] = 'Vehicle Returned'
}
PreviousInstallationNextCommon issues

Last updated 1 year ago

๐ŸŒŒ
๐Ÿš˜
โš™๏ธ
Page cover image