🔵
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
  1. ESX
  2. Laundromat

Gang App

This is how to make the roofrunning works with the gang app script

  • All you need to do is go to config.lua and set this value to true :

    Config.UseGangApp       = true
  • To add the mission into the gang app go to config.lua and add this under Config.Contracts :

        {
            id = 1, -- change this ofc if it is not the first ...
            label = 'Laundromat',
            requirements = {
                'Laundromat USB',
            },
            price = 15,
            available = true,
            image = 'https://www.trycents.com/hubfs/doing-laundry-in-nyc-laundromat-header.jpg',
            resource = 'zat-laundromat',
            text = 'Laundromat mission started, head over to the location and contact the responsable...',
            coords = vector3(510.69, -1951.57, 23.99) -- npc location
        },
  • NPC interaction :

    • If you don't use zat dialog then make sure that you have disabled the group option from the client/target.lua.

    • If you use zat dialog then use this part :

      -- laundromat
          {
              img         = 'https://live.staticflickr.com/65535/54170502885_2d3aa67a37_o.png',
              ped         = 'a_m_m_eastsa_02',
              anim        = 'CODE_HUMAN_MEDIC_TIME_OF_DEATH',
              coords      =  vector4(510.69, -1951.57, 23.99, 307.67),
              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   = 'ASTA',
              lastname    = 'CLEAN',
              rep         = 0,
              mission     = 'Laundromat',
              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 Suds Law laundromat and break all the whashmachines in there?',
              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-laundromat:client:StartWorking',
                                  data= {}
                              },
                              canInteract = CanToggleSignIn(),
                          },
                          {
                              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-laundromat:client:StopWorking',
                          data= {}
                      },
                      canInteract = true
                  },
                  {
                      text    = 'Open Shop',
                      rep = 0,
                      shop    = true,
                      answer  = null,
                      canInteract = true
                  },
              },
              items={
                  {
                      name   = 'laundromatusb',
                      label  = 'USB',
                      image  = 'nui://'..Config.Img..'laundromatusb.png',
                      type   = 'Equipement',
                      price  = 1000,
                      rep    = 0,
                      amount = 0, -- keep it 0
                      info   = {},
                      canInteract = true
                  },        
              }
          }, 
PreviousConfigurationNextSNR Restaurants

Last updated 3 months ago

🟦
🔵
🚩