πŸ”΅
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. QBCore
  2. Cash Exchange Heist

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 = 2, -- adapt the id of course
            label = 'Cash Exchange',
            requirements = {
                'RFID Cloner',
            },
            price = 15,
            available = true,
            image = 'https://images.stockcake.com/public/a/d/8/ad82e97a-1cce-452b-9fc8-56a4a24e89f0_large/cash-transaction-exchange-stockcake.jpg',
            resource = 'zat-cashexchange',
            text   = 'Cashexchange mission started, head over to the location and contact the responsable...',
            coords = vector3(1213.85, -1238.6, 35.33) -- 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 :

      -- exchange
          {
              img         = 'https://i.ibb.co/w4LKs4w/Five-M-b2944-GTAProcess-O90d-Wh83-Wq.png',
              ped         = 'a_m_m_socenlat_01',
              anim        = 'CODE_HUMAN_MEDIC_TIME_OF_DEATH',
              coords      =  vector4(1213.85, -1238.6, 35.33, 92.7),
              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   = 'BARK',
              lastname    = 'MOORE',
              rep         = 0,
              mission     = 'cashexchange',
              text        = 'Hey there, looking for a side gig, huh? I’ve got an idea that’s a bit unconventional, but trust me, it’ll pay off. Picture this: you and your crew sneak into a cashexchange office, and grap all the money 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-cashexchange: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    = 'Open Shop',
                      rep = 0,
                      shop    = true,
                      answer  = null,
                      canInteract = true
                  },
              },
              items={
                  {
                      name   = 'rfid_cloner',
                      label  = 'RFID Cloner',
                      image  = 'nui://'..Config.Img..'rfid_cloner.png',
                      type   = 'Equipement',
                      price  = 1000,
                      rep    = 0,
                      amount = 0, -- keep it 0
                      info   = {},
                      canInteract = true
                  },     
              }
          }, 
PreviousConfigurationNextMDT

Last updated 3 months ago

🟦
πŸ”΅
🚩