Rental Locations

The rental locations configuration defines where players can rent vehicles, bikes, boats, and aircraft throughout the map.

Location Configuration

The list section defines all available rental locations:

list = {
    { 
        name = 'Downtown Car Rentals',
        description = 'Premium vehicles in the heart of the city',
        type = 'vehicles',
    }
}
listrequiredarray
An array of rental location configurations.
list[].namerequiredstring
The display name of the rental location.
list[].descriptionrequiredstring
A brief description of the rental location.
list[].typerequiredstring
The type of rentals available at this location (vehicles, bikes, boats, planes).

Blip Configuration

The blip section controls how the rental location appears on the map:

blip = {
    sprite = 326,
    color = 5,
    scale = 0.6,
    label = 'Downtown Car Rentals'
}
list[].blip.spriterequirednumber
The blip sprite ID to use on the map.
list[].blip.colorrequirednumber
The blip color ID to use on the map.
list[].blip.scalerequirednumber
The size of the blip on the map.
list[].blip.labelrequiredstring
The text label shown on the map for the rental location.

Entity Configuration

The entity section defines the NPC that manages the rental location:

entity = {
    model = 'a_m_y_business_03',
    coords = vec4(-340.31, 269.34, 85.63, 6.21),
    scenario = 'WORLD_HUMAN_CLIPBOARD',
    interaction = 'Talk to Vehicle Rental Agent'
}
list[].entity.modelrequiredstring
The model name of the rental agent NPC.
list[].entity.coordsrequiredvector4
The coordinates where the rental agent will spawn (x, y, z, heading).
list[].entity.scenariorequiredstring
The animation scenario the rental agent will use.
list[].entity.interactionrequiredstring
The text shown when interacting with the rental agent.

Spawn Points Configuration

The spawns section defines where rented vehicles will appear:

spawns = {
    vec4(-350.14, 272.43, 85.05, 270.54),
    vec4(-349.51, 275.85, 85.02, 200.86),
    vec4(-349.49, 279.18, 84.94, 311.36),
    vec4(-350.14, 282.48, 84.89, 311.85)
}
list[].spawnsrequiredarray
An array of spawn point coordinates where rented vehicles will appear.
list[].spawns[]requiredvector4
The coordinates for a vehicle spawn point (x, y, z, heading).

Vehicles Configuration

The vehicles section defines what vehicles can be rented at this location:

vehicles = {
    sultanrs = { price = 1600 },
    futo = { price = 850 },
    bison = { price = 1300 }
}
list[].vehiclesrequiredtable
A table of available vehicles and their rental prices.
list[].vehicles[vehicle].pricerequirednumber
The rental price for the specified vehicle.

Complete Configuration Example

return {
    list = {
        { 
            name = 'Downtown Car Rentals',
            description = 'Premium vehicles in the heart of the city',
            type = 'vehicles',

            blip = {
                sprite = 326,
                color = 5,
                scale = 0.6,
                label = 'Downtown Car Rentals'
            },

            entity = {
                model = 'a_m_y_business_03',
                coords = vec4(-340.31, 269.34, 84.63, 6.21),
                scenario = 'WORLD_HUMAN_CLIPBOARD',
                interaction = 'Talk to Vehicle Rental Agent'
            },
            
            spawns = {
                vec4(-350.14, 272.43, 85.05, 270.54),
                vec4(-349.51, 275.85, 85.02, 200.86),
                vec4(-349.49, 279.18, 84.94, 311.36),
                vec4(-350.14, 282.48, 84.89, 311.85)
            },
            
            vehicles = {
                sultanrs = { price = 1600 },
                futo = { price = 850 },
                bison = { price = 1300 },
                sentinel = { price = 1400 },
                granger = { price = 1350 }
            }
        },
        { 
            name = 'Beach Bike Rentals',
            description = 'Bikes for your beach adventure',
            type = 'bikes',

            blip = {
                sprite = 226,
                color = 5,
                scale = 0.6,
                label = 'Beach Bike Rentals'
            },

            entity = {
                model = 'a_f_y_tourist_01',
                coords = vec4(-1792.99, -857.82, 6.58, 202.72),
                scenario = 'WORLD_HUMAN_STAND_MOBILE',
                interaction = 'Rent Bikes'
            },
            
            spawns = {
                vec4(-1791.23, -859.63, 7.56, 120.09),
                vec4(-1790.57, -860.84, 7.55, 118.97),
                vec4(-1789.83, -862.54, 7.53, 113.38),
                vec4(-1789.53, -863.93, 7.51, 133.48)
            },
            
            vehicles = {
                sanchez = { price = 700 },
                bmx = { price = 120 }
            }
        },
        { 
            name = 'Marina Boat Rentals',
            description = 'Explore the ocean with our premium boat rentals',
            type = 'boats',

            blip = {
                sprite = 410,
                color = 5,
                scale = 0.6,
                label = 'Marina Boat Rentals'
            },

            entity = {
                model = 's_m_y_baywatch_01',
                coords = vec4(-806.59, -1497.00, 0.59, 107.58),
                scenario = 'WORLD_HUMAN_STAND_IMPATIENT',
                interaction = 'Talk to Boat Rental Agent'
            },
            
            spawns = {
                vec4(-809.88, -1502.54, -0.47, 106.52),
                vec4(-812.60, -1499.65, -0.47, 56.70),
                vec4(-815.82, -1495.94, -0.47, 48.64),
                vec4(-819.13, -1493.04, -0.47, 43.31)
            },
            
            vehicles = {
                seashark = { price = 850 },
                dinghy = { price = 1250 }
            }
        },
        { 
            name = 'LSIA Aircraft Rentals',
            description = 'Take to the skies with our premium aircraft rentals',
            type = 'planes',

            blip = {
                sprite = 307,
                color = 5,
                scale = 0.6,
                label = 'LSIA Aircraft Rentals'
            },

            entity = {
                model = 's_m_y_pilot_01',
                coords = vec4(-1146.5, -2864.6, 12.95, 150.0),
                scenario = 'WORLD_HUMAN_CLIPBOARD',
                interaction = 'Talk to Aircraft Rental Agent'
            },
            
            spawns = {
                vec4(-1178.5, -2845.8, 13.95, 330.0),
                vec4(-1203.7, -2825.2, 13.95, 330.0),
                vec4(-1146.3, -2812.6, 13.95, 240.0),
                vec4(-1123.8, -2843.5, 13.95, 150.0)
            },
            
            vehicles = {
                frogger = { price = 3200 },
                mammatus = { price = 3700 }
            }
        },
    }
}