Installation

How to install House Robbery script into your server

Install all resource dependencies

Resource start order

ensure oxmysql
ensure ox_lib
ensure framework
ensure ox_target
ensure ox_inventory
ensure peak_houserobbery

Server Artifacts

Install the latest artifacts for your FiveM server. We recommend using the FiveM Artifacts DB site created by JG Scripts.

Shells

Install the addon shells packs. If you don't want to use them, you can easily configure the script to use different shells, as these are preconfigured by default.

House Robbery Items

Add house robbery items to ox_inventory/data/items.lua

    -- Peak House Robbery items

    -- Kitchen

    peak_cleaning_kit = {
        label = 'Cleaning Kit',
        description = 'A set of tools and supplies for keeping spaces spotless.',
        weight = 100,
        stack = true,
    },
    
    peak_cigarettes_pack = {
        label = 'Cigarettes Pack',
        description = 'A pack of cigarettes for a quick smoke break.',
        weight = 200,
        stack = true,
    },
    
    peak_phone = {
        label = 'Phone',
        description = 'A mobile device for communication and entertainment.',
        weight = 200,
        stack = true,
    },
    
    peak_blox = {
        label = 'Blox',
        description = 'A specialized cleaning kit for thorough cleaning and maintenance.',
        weight = 200,
        stack = true,
    },  
    
    peak_lighter = {
        label = 'Lighter',
        description = 'A small device used to create a flame.',
        weight = 30,
        stack = true,
    },
    
    peak_whiskey = {
        label = 'Whiskey',
        description = 'A bottle of aged whiskey, perfect for sipping.',
        weight = 500,
        stack = true,
    },
    
    peak_vodka = {
        label = 'Vodka',
        description = 'A bottle of clear vodka for cocktails and shots.',
        weight = 700,
        stack = true,
    },
    
    -- Living room
    
    peak_golden_ring = {
        label = 'Golden Ring',
        description = 'A shiny ring made of pure gold.',
        weight = 10,
        stack = true,
    },
    
    peak_painting1 = {
        label = 'Painting',
        description = 'A beautiful piece of art to adorn your walls.',
        weight = 1000,
        stack = true,
    },
    
    peak_painting2 = {
        label = 'Painting',
        description = 'An exquisite painting, adding elegance to any room.',
        weight = 1000,
        stack = true,
    },
    
    peak_tablet = {
        label = 'Tablet',
        description = 'A portable touchscreen device for browsing and media.',
        weight = 400,
        stack = true,
    },
    
    peak_pearl_chain = {
        label = 'Pearl Chain',
        description = 'A delicate chain adorned with pearls.',
        weight = 50,
        stack = true,
    },
    
    peak_golden_teeth = {
        label = 'Golden Teeth',
        description = 'Intricate dental work made from gold.',
        weight = 2,
        stack = true,
    },
    
    -- Chest
    
    peak_necklace = {
        label = 'Necklace',
        description = 'An elegant necklace to enhance any outfit.',
        weight = 50,
        stack = true,
    },
    
    peak_electronickit = {
        label = 'Electronic Kit',
        description = 'A collection of components for electronic projects.',
        weight = 150,
        stack = true,
    },
    
    peak_certificate = {
        label = 'Certificate',
        description = 'A formal document recognizing achievement or status.',
        weight = 10,
        stack = true,
    },
    
    peak_fake_cash = {
        label = 'Fake Cash',
        description = 'Prop money used for role-playing or pranks.',
        weight = 500,
        stack = true,
    },
    
    -- Cabin
    
    peak_keyboard = {
        label = 'Keyboard',
        description = 'A device for typing and inputting data.',
        weight = 500,
        stack = true,
    },
    
    peak_wallet = {
        label = 'Wallet',
        description = 'A stylish accessory for holding cards and cash.',
        weight = 500,
        stack = true,
    },
    
    peak_ev_battery = {
        label = 'RC Battery',
        description = 'A rechargeable battery for remote-controlled devices.',
        weight = 300,
        stack = true,
    },
    
    peak_usb = {
        label = 'USB',
        description = 'A flash drive for storing and transferring data.',
        weight = 10,
        stack = true,
    },
    
    -- Prop items
    
    peak_laptop = {
        label = 'Laptop',
        description = 'A portable computer for work and entertainment.',
        weight = 2000,
        stack = true,
    },
    
    peak_pcspeaker = {
        label = 'Speaker',
        description = 'A speaker for playing music and audio.',
        weight = 500,
        stack = true,
    },
    
    peak_toaster = {
        label = 'Toaster',
        description = 'An appliance for toasting bread and bagels.',
        weight = 2000,
        stack = true,
    },
    
    peak_microwave = {
        label = 'Microwave',
        description = 'An appliance for quickly heating food.',
        weight = 2000,
        stack = true,
    },
    
    peak_tv = {
        label = 'Smart TV',
        description = 'A television with internet connectivity and smart features.',
        weight = 10000,
        stack = true,
    },
    
    peak_coffee_maker = {
        label = 'Coffee Maker',
        description = 'An appliance for brewing fresh coffee.',
        weight = 5000,
        stack = true,
    },
    
    peak_artpiece = {
        label = 'Art Piece',
        description = 'A unique artwork that adds character to any space.',
        weight = 5000,
        stack = true,
    },
    
    peak_eguitar = {
        label = 'Guitar',
        description = 'An electric guitar for music enthusiasts.',
        weight = 5000,
        stack = true,
    },
    
    peak_suitcase = {
        label = 'Suitcase',
        description = 'A travel bag for packing clothes and essentials.',
        weight = 2000,
        stack = true,
    },
    
    peak_printer = {
        label = 'Printer',
        description = 'An appliance for printing documents and photos.',
        weight = 2000,
        stack = true,
    },

    peak_scales = {
        label = 'Scales',
        description = 'Precision scales used for accurate measurement, ideal for weighing small quantities.',
        weight = 1000,
        stack = true,
    },

    peak_bong = {
        label = 'Bong',
        description = 'A water pipe designed for smoking, typically used for filtering and cooling smoke.',
        weight = 1000,
        stack = true,
    },

    peak_mixer = {
        label = 'Mixer',
        description = 'A food mixer designed for efficient blending, perfect for mixing ingredients quickly and evenly.',
        weight = 1000,
        stack = true,
    },

Carriable Items (optional)

Add carriable items to Renewed-Weaponscarry/data/carry.lua

    -- Used in peak_houserobbery
    peak_laptop = {
        model = `prop_laptop_02_closed`,
        pos = vec3(0.0, 0.0, -0.2),
        rot = vec3(0.0, 0.0, 2.0),
        bone = 28422,
        dict = 'anim@heists@box_carry@',
        anim = 'idle',
        disableKeys = {
            disableSprint = true,
            disableJump = true,
            disableAttack = true,
            disableDriving = true,
            disableVehicleEnter = true
        }
    },

    peak_pcspeaker = {
        model = `v_res_pcspeaker`,
        pos = vec3(0.0, 0.0, -0.2),
        rot = vec3(0.0, 0.0, 0.0),
        bone = 28422,
        dict = 'anim@heists@box_carry@',
        anim = 'idle',
        disableKeys = {
            disableSprint = true,
            disableJump = true,
            disableAttack = true,
            disableDriving = true,
            disableVehicleEnter = true
        }
    },

    peak_toaster = {
        model = `prop_toaster_01`,
        pos = vec3(0.0, 0.0, -0.05),
        rot = vec3(0.0, 0.0, 0.0),
        bone = 28422,
        dict = 'anim@heists@box_carry@',
        anim = 'idle',
        disableKeys = {
            disableSprint = true,
            disableJump = true,
            disableAttack = true,
            disableDriving = true,
            disableVehicleEnter = true
        }
    },

    peak_tv = {
        model = `prop_tv_flat_michael`,
        pos = vec3(0.0, -0.1, 0.0),
        rot = vec3(0.0, 0.0, 0.0),
        bone = 28422,
        dict = 'anim@heists@box_carry@',
        anim = 'idle',
        disableKeys = {
            disableSprint = true,
            disableJump = true,
            disableAttack = true,
            disableDriving = true,
            disableVehicleEnter = true
        }
    },

Configure the script

Configure the script to your liking.

Well done!