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 = 4, label = 'Gallery Heist', requirements = { 'RFID Cloner', }, price = 15, available = true, image = 'https://images.unsplash.com/photo-1507643179773-3e975d7ac515?fm=jpg', resource = 'zat-galleryheist', text = 'Galleryheist mission started, head over to the location and contact the responsable...', coords = vector3(996.66, -1486.69, 30.43) -- 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 :
-- gallery { img = 'https://i.ibb.co/qF0NQDbR/Capture-d-cran-2025-02-06-224715.png', ped = 'u_m_m_jesus_01', anim = 'CODE_HUMAN_MEDIC_TIME_OF_DEATH', coords = vector4(996.66, -1486.69, 30.43, 265.94), 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 = 'Galleryheist', text = 'Thou art welcome, what can I do for you?', buttons = { { text= 'Find the Perfect Picture', rep = 0, answer ='I am looking for something special, I need a piece or art that will make my followers go wild. In exchange I can have my followers help you out.', buttons={{ text = 'yes', shop =false, rep = 0, action= { isServer= false, event= 'zat-galleryheist: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-galleryheist:client:StopWorking', data= {} }, 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 }, } },
Last updated