Rise Development
  • Rise Development
  • Script
    • Pawnshop
    • Blip Menu
    • Pizza Courier
    • Taco Courier
    • Character Kill
    • ID Give Car System
    • Sellable Stashes
    • Blip Creator
    • For Rent Car
    • Billing System
    • Admin Report
    • BlackMarketV1
    • Fish System
    • Whitelisted System
  • Development Services
    • Development Services (Monthly)
Powered by GitBook
On this page
  1. Script

For Rent Car

Setting Rental Time Period 1 Hour 6 Hours 1 Day Option Menu Price Setting system 1.2 1.6 as rate

PreviousBlip CreatorNextBilling System

Last updated 1 month ago

Locales = {
    ['tr'] = {
        ['rent_vehicle'] = 'Araç Kirala',
        ['vehicle_rented'] = 'Araç başarıyla kiralandı!',
        ['not_enough_money'] = 'Yeterli paranız yok!',
        ['rental_menu'] = 'Araç Kiralama',
        ['close'] = 'Kapat',
        ['time_remaining'] = 'Plaka %s olan aracınızın kiralamasının bitmesine %d saat %d dakika kaldı.',
        ['no_rental'] = 'Kiralık aracınız bulunmuyor.',
        ['rental_expired'] = 'Kiralama süreniz doldu, araç geri alındı!',
        ['select_duration'] = 'Kiralama Süresi',
        ['hour'] = 'Saat',
        ['day'] = 'Gün',
        ['one_hour'] = '1 Saat',
        ['three_hours'] = '3 Saat',
        ['one_day'] = '1 Gün',
        ['spawn_point_occupied'] = 'Araç çıkış noktası dolu! Lütfen bekleyin veya başka bir araç seçin.',
        ['config_error'] = "HATA: Config'de 2'den fazla araç tanımlanmış! Lokasyon: %s",
        ['config_warning'] = "UYARI: Her lokasyonda en fazla 2 araç tanımlanabilir!",
        ['model_not_found'] = "Araç modeli bulunamadı!!",
        ['invalid_rental'] = 'Geçersiz kiralama bilgisi',
        ['no_vehicle'] = 'Araç bulunamadı',
        ['existing_rental_brought'] = 'Mevcut kiralık aracınız yanınıza getirildi!',
        ['time'] = 'Aracına Oturdun /kalanzaman yazarak aracının kalan süresini görebilirsin!',
    },
    ['en'] = {
        ['rent_vehicle'] = 'Rent Vehicle',
        ['vehicle_rented'] = 'Vehicle rented successfully!',
        ['not_enough_money'] = 'You don\'t have enough money!',
        ['rental_menu'] = 'Vehicle Rental',
        ['close'] = 'Close',
        ['time_remaining'] = 'Your rental vehicle with plate %s has %d hours and %d minutes remaining.',
        ['no_rental'] = 'You don\'t have any rental vehicles.',
        ['rental_expired'] = 'Your rental period has expired, vehicle has been returned!',
        ['select_duration'] = 'Rental Duration',
        ['hour'] = 'Hour',
        ['day'] = 'Day',
        ['one_hour'] = '1 Hour',
        ['three_hours'] = '3 Hours',
        ['one_day'] = '1 Day',
        ['spawn_point_occupied'] = 'Vehicle spawn point is occupied! Please wait or choose another vehicle.',
        ['config_error'] = "ERROR: More than 2 vehicles defined in Config! Location: %s",
        ['config_warning'] = "WARNING: Maximum 2 vehicles can be defined per location!",
        ['model_not_found'] = "Vehicle model not found!!",
        ['invalid_rental'] = 'Invalid rental information',
        ['no_vehicle'] = 'No vehicle found',
        ['existing_rental_brought'] = 'Your existing rental vehicle has been brought to you!',
    },
beq.Language = 'tr' -- tr, en, fr, ar, 
beq.TargetSystem = 'qb-target'  -- ox_target, qb-target

beq.timeremaining = {
    command = 'timeremaining',
    commanddescription = 'Shows the remaining time of your rental car',
}
beq.RentalDurations = {
    { key = "one_hour", time = 1, price_multiplier = 1.0 },
    { key = "three_hours", time = 3, price_multiplier = 2.5 },
    { key = "one_day", time = 24, price_multiplier = 5.0 }
} 
beq.NPCLocations = {
    {
        coords = vector4(143.85, -1028.99, 28.35, 345.44),
        ped = 'a_m_y_business_03',
        scenario = 'WORLD_HUMAN_CLIPBOARD',
        vehicles = {
            {
                name = "asbo",
                model = "asbo",
                label = "Asbo",
                price = 500,
                image = "images/asbo.png",
                specs = {
                    speed = 75,
                    acceleration = 70,
                    braking = 65,
                    handling = 80
                },
                spawnCoords = vector4(145.64, -1024.58, 29.35, 255.45)
            },
            {
                name = "faggio",
                model = "faggio",
                label = "Faggio",
                price = 350,
                image = "images/faggio.png",
                specs = {
                    speed = 65,
                    acceleration = 60,
                    braking = 60,
                    handling = 70
                },
                spawnCoords = vector4(145.64, -1024.58, 29.35, 255.45)
            },
        }
    },
    {
        coords = vector4(1687.59, 4815.83, 42.01, 91.45),
        ped = 'a_f_y_business_04',
        scenario = 'WORLD_HUMAN_CLIPBOARD',
        vehicles = {
            {
                name = "sultan",
                model = "sultan",
                label = "Sultan RS",
                price = 750,
                image = "images/sultan.png",
                specs = {
                    speed = 80,
                    acceleration = 75,
                    braking = 70,
                    handling = 75
                },
                spawnCoords = vector4(1691.59, 4815.83, 42.01, 91.45)
            },
            {
                name = "faggio3",
                model = "faggio3",
                label = "Faggio",
                price = 500,
                image = "images/faggio3.png",
                specs = {
                    speed = 75,
                    acceleration = 70,
                    braking = 65,
                    handling = 80
                },
                spawnCoords = vector4(1693.59, 4815.83, 42.01, 91.45)
            }
        }
    }
}