Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RegisterNetEvent('esx:setJob') -- This one is for breaking every function when players job is changed in game, so that if it's job is police they can no longer rob the bank but instead control the doors. IT IS VERY IMPORTANT!
- AddEventHandler('esx:setJob', function(job)
- PlayerData.job = job
- UTK.policebreak = true
- UTK.stage0break = true
- UTK.stage1break = true
- UTK.stage2break = true
- UTK.stage3break = true
- UTK.stage4break = true
- UTK.stagelootbreak = true
- UTK.disableinput = false
- UTK.cur = 7
- UTK.starttimer = false
- UTK.vaulttime = 0
- UTK.alarmblip = nil
- UTK.grabber = false
- UTK.searchlocations = {
- {coords = {x = 233.40, y = 221.53, z = 110.40}, status = false},
- {coords = {x = 240.93, y = 211.12, z = 110.40}, status = false},
- {coords = {x = 246.54, y = 208.86, z = 110.40}, status = false},
- {coords = {x = 264.33, y = 212.16, z = 110.40}, status = false},
- {coords = {x = 252.87, y = 222.36, z = 106.35}, status = false},
- {coords = {x = 249.71, y = 227.84, z = 106.35}, status = false},
- {coords = {x = 244.80, y = 229.70, z = 106.35}, status = false}
- }
- UTK.checks.hack1 = false
- UTK.checks.hack2 = false
- UTK.checks.thermal1 = false
- UTK.checks.thermal2 = false
- UTK.checks.id1 = false
- UTK.checks.id2 = false
- UTK.checks.idfound = false
- UTK.checks.grab1 = false
- UTK.checks.grab2 = false
- UTK.checks.grab3 = false
- UTK.checks.grab4 = false
- UTK.checks.grab5 = false
- UTK.searchinfo = {
- random = math.random(1, UTK.cur),
- found = false
- }
- program = 0
- scaleform = nil
- lives = 5
- ClickReturn = nil
- SorF = false
- Hacking = false
- UsingComputer = false
- Citizen.Wait(5000)
- UTK.policebreak = false
- UTK.hackfinish = false
- UTK.stagelootbreak = false
- UTK.stage0break = false
- UTK.stage1break = false
- UTK.stage2break = false
- UTK.stage3break = false
- UTK.stage4break = false
- UTK.initiator = false
- UTK:GetInfo()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement