🔵
ZaT Scripts
  • Welcome
  • General information
  • 🟦QBCore
    • 🔵Amazon
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵Uber Eats
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵Foodie
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵Tap To Order
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵NoteBook
      • 💻Installation
      • ⚙️Configuration
    • 🔵Elevator
      • 💻Installation
      • ⚙️Configuration
    • 🔵Car Rental
      • 💻Installation
      • ⚙️Configuration
    • 🔵Crafting
      • 💻Installation
      • ⚙️Configuration
      • 📄Blueprints
      • 📄Reputations
      • ⚙️Others
    • 🔵Wash Money
      • 💻Installation
      • ⚙️Configuration
      • 💰More
    • 🔵Store Robbery
      • 💻Installation
      • ⚙️Configuration
    • 🔵Pacific Robbery
      • 💻Installation
      • ⚙️Configuration
    • 🔵Weed
      • 💻Installation
      • ⚙️Configuration
      • ⚙️Genetics
    • 🔵SnrBuns
      • 💻Installation
      • ⚙️Configuration
      • ⚙️Others
    • 🔵Mining PC
      • 💻Installation
      • ⚙️Configuration
      • ⚙️Others
      • 🛒Shops
    • 🔵Garbage Job
      • 💻Installation
      • ⚙️Configuration
      • ⁉️Common Questions
    • 🔵NPC Dialog
      • 💻Installation
      • ⚙️Configuration
      • 💡Reputations
    • 🔵Roof Running
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵Laundromat
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵SNR Restaurants
      • 💻Installation
      • ⚙️Configuration
      • ⁉️How To add a new restaurant
    • 🔵Farming & moonshine
      • 💻Installation
      • ⚙️Configuration
      • 🧑‍🔬Genetics
    • 🔵Art Heist
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵Maze Bank Heist
      • 💻Installation
      • ⚙️Configuration
    • 🔵Clothing Store Heist
      • 💻Installation
      • ⚙️Configuration
    • 🔵ATM Heist
      • 💻Installation
      • ⚙️Configuration
    • 🔵Cash Exchange Heist
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵MDT
      • 💻Installation
      • ⚙️Configuration
      • ⚠️Dispatch
      • 🕖Events
    • 🔵Gang
      • 💻Installation
      • Exports
      • ⚙️Configuration
      • 🚩Gang Creation
      • 📋Dashboard
      • Members
      • Contracts
      • Turfs
      • Transactions
      • Market
      • Wars
      • Leaderboard
      • Cameras
      • HQ +
    • 🔵GPS Tracker
      • 💻Installation
      • ⚙️Configuration
    • 🔵Pause Menu
      • 💻Installation
      • ⚙️Configuration
    • 🔵Perks
      • 💻Installation
      • ⚙️Configuration
      • Exports
      • ⁉️How To ?
    • 🔵Fleeca
      • 💻Installation
      • ⚙️Configuration
    • 🔵Whiteboard
      • 💻Installation
      • ⚙️Configuration
  • 🟦ESX
    • 🔵Amazon
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵Uber Eats
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵Foodie
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵Tap To Order
      • 💻Installation
      • ⚙️Configuration
      • ❔Common questions
    • 🔵NoteBook
      • 💻Installation
      • ⚙️Configuration
    • 🔵Crafting
      • 💻Installation
      • ⚙️Configuration
      • 📄Blueprints
      • 📄Reputations
      • ⚙️Others
    • 🔵Elevator
      • 💻Installation
      • ⚙️Configuration
    • 🔵Car Rental
      • 💻Installation
      • ⚙️Configuration
    • 🔵Wash Money
      • 💻Installation
      • ⚙️Configuration
    • 🔵Store Robbery
      • 💻Installation
      • ⚙️Configuration
    • 🔵Pacific Robbery
      • 💻Installation
      • ⚙️Configuration
    • 🔵Weed
      • 💻Installation
      • ⚙️Configuration
      • ⚙️Genetics
    • 🔵SnrBuns
      • 💻Installation
      • ⚙️Configuration
      • ⚙️Others
    • 🔵Mining PC
      • 💻Installation
      • ⚙️Configuration
      • ⚙️Others
      • 🛒Shops
    • 🔵Garbage Job
      • 💻Installation
      • ⚙️Configuration
      • ⁉️Common Questions
    • 🔵NPC Dialog
      • 💻Installation
      • ⚙️Configuration
      • 💡Reputations
    • 🔵Roof Running
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵Laundromat
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵SNR Restaurants
      • 💻Installation
      • ⚙️Configuration
      • ⁉️How To add a new restaurant
    • 🔵Farming & moonshine
      • 💻Installation
      • ⚙️Configuration
      • 🧑‍🔬Genetics
    • 🔵Art Heist
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵Maze Bank Heist
      • 💻Installation
      • ⚙️Configuration
    • 🔵Clothing Store Heist
      • 💻Installation
      • ⚙️Configuration
    • 🔵ATM Heist
      • 💻Installation
      • ⚙️Configuration
    • 🔵Cash Exchange Heist
      • 💻Installation
      • ⚙️Configuration
      • 🚩Gang App
    • 🔵Gang
      • 💻Installation
      • Exports
      • ⚙️Configuration
      • 🚩Gang Creation
      • 📋Dashboard
      • Members
      • Contracts
      • Turfs
      • Transactions
      • Market
      • Wars
      • Leaderboard
      • Cameras
      • HQ +
    • 🔵GPS Tracker
      • 💻Installation
      • ⚙️Configuration
    • 🔵Pause Menu
      • 💻Installation
      • ⚙️Configuration
    • 🔵Perks
      • 💻Installation
      • ⚙️Configuration
      • Exports
      • ⁉️How To ?
    • 🔵Fleeca
      • 💻Installation
      • ⚙️Configuration
    • 🔵Whiteboard
      • 💻Installation
      • ⚙️Configuration
  • 🟦STANDALONE
    • 🔵Code Minigame
      • 💻Installation
      • ⚙️Usage
    • 🔵Menu and Task UI
      • 💻Installation
      • ⚙️Usage
      • ⁉️Common Questions
Powered by GitBook
On this page
  • Dependencies :
  • Inventories :
  • Dialog :
  • Emotes :
  • ENSURE RESOURCES
  1. ESX
  2. Roof Running

Installation

PreviousRoof RunningNextConfiguration

Last updated 18 days ago

Dependencies :

ES EXTENDED

You will need the latest version of

  • Extract the contents of the archive to your resources folder.

  • Start the resource near the top of your resources in your server.cfg.

INTERACT OR TARGET

You will need the latest version of or

  • Extract the contents of the archive to your resources folder.

  • Start the resource near the top of your resources in your server.cfg.

XSOUND

You will need the latest version of

  • Extract the contents of the archive to your resources folder.

  • Start the resource near the top of your resources in your server.cfg.

RPEMOTES, DPEMOTES OR ANY EMOTE MENU

You will need the latest version of

  • Extract the contents of the archive to your resources folder.

  • Start the resource near the top of your resources in your server.cfg.


Inventories :

QB INVENTORY

Add the items below to the qb-core/shared/items.lua

   screwdriver                  = { name = 'screwdriver',         label = 'Screwdriver',                           weight = 100,       type = 'item',      image = 'screwdriver.png',                   unique = false, useable = false,     shouldClose = true,    combinable = nil,   description = 'Screwdriver...' },
   hvaccompressor               = { name = 'hvaccompressor',      label = 'HVAC Compressor',                       weight = 100,       type = 'item',      image = 'hvaccompressor.png',                   unique = false, useable = false,     shouldClose = true,    combinable = nil,   description = 'HVAC Compressor...' },
   hvacblower                   = { name = 'hvacblower',          label = 'HVAC Blower',                           weight = 100,       type = 'item',      image = 'hvacblower.png',                   unique = false, useable = false,     shouldClose = true,    combinable = nil,   description = 'HVAC Blower...' },
   gturbinehead                 = { name = 'gturbinehead',        label = 'Galvanized Turbine Head',               weight = 100,       type = 'item',      image = 'gturbinehead.png',                   unique = false, useable = false,     shouldClose = true,    combinable = nil,   description = 'Galvanized Turbine Head...' },
QS INVENTORY

Add the items below into your qs-inventory/shared/items.lua

 ['screwdriver']                  = {
        ['name'] = 'screwdriver',
        ['label'] = 'Screwdriver',
        ['weight'] = 0,
        ['type'] = 'item',
        ['image'] = 'screwdriver.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = false,
        ['combinable'] = nil,
        ['description'] = '...'
    },
    ['hvaccompressor']                  = {
        ['name'] = 'hvaccompressor',
        ['label'] = 'HVAC Compressor',
        ['weight'] = 0,
        ['type'] = 'item',
        ['image'] = 'hvaccompressor.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = false,
        ['combinable'] = nil,
        ['description'] = '...'
    },
    ['hvacblower']                  = {
        ['name'] = 'hvacblower',
        ['label'] = 'HVAC Blower',
        ['weight'] = 0,
        ['type'] = 'item',
        ['image'] = 'hvacblower.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = false,
        ['combinable'] = nil,
        ['description'] = '...'
    },
    ['gturbinehead']                  = {
        ['name'] = 'gturbinehead',
        ['label'] = 'Galvanized Turbine Head',
        ['weight'] = 0,
        ['type'] = 'item',
        ['image'] = 'gturbinehead.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = false,
        ['combinable'] = nil,
        ['description'] = '...'
    },
OX INVENTORY

Add the items below into your ox-inventory/data/items.lua


["gturbinehead"] = {
        label = "Galvanized Turbine Head",
        weight = 100,
        stack = true,
        close = true,
        description = "Galvanized Turbine Head...",
        client = {
            image = "gturbinehead.png",
        }
    },

    ["hvacblower"] = {
        label = "HVAC Blower",
        weight = 100,
        stack = true,
        close = true,
        description = "HVAC Blower...",
        client = {
            image = "hvacblower.png",
        }
    },

    ["screwdriver"] = {
        label = "Screwdriver",
        weight = 100,
        stack = true,
        close = true,
        description = "Screwdriver...",
        client = {
            image = "screwdriver.png",
        }
    },

    ["hvaccompressor"] = {
        label = "HVAC Compressor",
        weight = 100,
        stack = true,
        close = true,
        description = "HVAC Compressor...",
        client = {
            image = "hvaccompressor.png",
        }
    },

Dialog :

ZAT DIALOG

Add the code below to zat-dialog/shared/config.lua

    {
        img         = 'https://i.ibb.co/grX3Qxm/npc.png',
        ped         = 'a_m_m_hillbilly_02',
        anim        = 'CODE_HUMAN_MEDIC_TIME_OF_DEATH',
        coords      =  vector4(574.08, 133.01, 98.47, 249.26),
        job         = "all", -- { ["police"] = 0, ["ambulance"] = 0}  if you are using target
        gang        = "all", -- { ["ballas"] = 2, ["thelostmc"] = 0}  if you are using target
        groups      = "all", -- { ["police"] = 2, ["ambulance"] = 0}  if you are using intearaction
        firstname   = 'RUFIS',
        lastname    = 'MDRID',
        rep         = 0,
        mission     = 'Roof Running',
        text        = 'Hey there, always on the lookout for a side gig, huh? I have got this idea that is a bit out there, but trust me, it pays off. Imagine sneaking onto rooftops, nabbing those AC units, and turning them into a sweet wad of cash, quick and discreet. what do you say? Insterested in a profitable adventure ?',
        buttons     = {
            {
                text= 'I want to work',
                rep = 0,
                answer ='Ready for a day of hard work?',
                buttons={{
                        text = 'yes',
                        shop =false,
                        rep = 0,
                        action= {
                            isServer= false,
                            event= 'zat-roofrunning:client:StartWorking',
                            data= {}
                        },
                        canInteract = true
                    },
                    {
                        text = 'Leave Conversation',
                        shop =false,
                        rep = 0,
                        action= {
                            isServer= false,
                            event= 'zat-dialog:client:HideUi',
                            data= {}
                        },
                        canInteract = true
                    }
                },
                canInteract = true
            },
            {
                text = 'Abandon Mission',
                rep = 0,
                shop =false,
                action= {
                    isServer= false,
                    event= 'zat-roofrunning:client:StopWorking',
                    data= {}
                },
                canInteract = true
            },
            {
                text = 'Join/Create Group',
                rep = 0,
                shop =false,
                action= {
                    isServer= false,
                    event= 'zat-groups:client:OpenUi',
                    data= {}
                },
                canInteract = true
            },
            {
                text    = 'Open Shop',
                rep = 0,
                shop    = true,
                answer  = null,
                canInteract = true
            },
        },
        items={
            {
                name   = 'screwdriver',
                label  = 'Screwdriver',
                image  = 'nui://'..Config.Img..'screwdriver.png',
                type   = 'Equipement',
                price  = 1000,
                rep    = 0,
                amount = 0, -- keep it 0
                info   = {}
            },        
        }
    }, 

Emotes :

ANIMATIONS LIST

Add the code below to your dp-rp emotes/client/AnimationList.lua

    ["roofvent"] = {
        "anim@heists@box_carry@",
        "idle",
        "Roof Vent",
        AnimationOptions = {
            Prop = "prop_roofrunning_vent",
            PropBone = 28422,
            PropPlacement = {
                0.0050,
                -0.1170,
                -0.1400,
                14.000,
                0.0,
                0.0
            },
            EmoteLoop = true,
            EmoteMoving = true
        }
    },
    ["roofairc"] = {
        "anim@heists@box_carry@",
        "idle",
        "Roof Vent",
        AnimationOptions = {
            Prop = "prop_roofrunning_aircon",
            PropBone = 28422,
            PropPlacement = {
                -0.5050,
                -0.1170,
                -0.1400,
                0.000,
                75.0,
                0.0
            },
            EmoteLoop = true,
            EmoteMoving = true
        }
    },
    ["roofventh"] = {
        "anim@heists@box_carry@",
        "idle",
        "Roof Vent",
        AnimationOptions = {
            Prop = "prop_roofrunning_head",
            PropBone = 28422,
            PropPlacement = {
                0.0050,
                -0.1170,
                -0.1400,
                14.000,
                0.0,
                0.0
            },
            EmoteLoop = true,
            EmoteMoving = true
        }
    },

ENSURE RESOURCES

es_extended
Interact
qb-target
xsound
rpemotes
🟦
🔵
💻
Page cover image