Creating shops

Now we create our shops as we want to!

Config.Shops = {
    ['Premium Deluxe  MotorSport'] = { -- can be almost everything, make sure to not duplicate this name
        jobs = {'all'}, -- 'all' or specific jobs, example {'police', 'ambulance'}
        categories = {'all'}, -- 'all' or specific categories, example {'suvs', 'sports'}

        ped = {
            pos = vec4(-56.8670, -1098.7744, 25.4223, 27.9466), -- position
            model = `a_f_m_eastsa_01`, -- model
        },
        blip = { 
            id = 523, -- sprite
            scale = 1.0, -- scale
            color = 26, -- color
            label = 'Premium Deluxe MotorSport' -- label
        },
        vehicle = {
            previewPos = vec4(-44.1070, -1096.9456, 26.4223, 211.0518), -- preview position
            buyPos = vec4(-27.3310, -1082.0548, 26.6369, 68.5908) -- position when the player successfully buys the vehicle
        },
        cam = {
            pos = vec3(-44.5, -1103.5, 28.0), -- position
            rot = vec3(0.0, 0.0, 0.0) -- rotation
        }
    },
}

Last updated

Was this helpful?