Updated Nightclub Safe Loop

Now It Works Smoothly every 3.5 seconds it will auto collect the safe without even opening it just make sure you are inside your nightclub and make sure it is already setuped.
This commit is contained in:
iSk1P 2024-12-28 02:01:35 +02:00
parent d566697e8d
commit 9663c47911

View File

@ -82,6 +82,8 @@ DCg4 = 1960755 + 812 + 50 + 4 -- doomsday player 4 cut global
IHPB = 52171 --Instant Heist Passed Local Base (Casino And CayoPerico) IHPB = 52171 --Instant Heist Passed Local Base (Casino And CayoPerico)
IHPL = 52171 + 1776 + 1 --Instant Heist Passed Locals (Casino And CayoPerico) IHPL = 52171 + 1776 + 1 --Instant Heist Passed Locals (Casino And CayoPerico)
NLCl = 202 + 32 + 1
SNOW = 262145 + 4413 SNOW = 262145 + 4413
halloweatherAddress = 262145 + 32158 halloweatherAddress = 262145 + 32158
@ -12974,16 +12976,34 @@ end)
NightClubSafeMenu = L7NEG7:add_tab("NightClub Safe Loop Menu") NightClubSafeMenu = L7NEG7:add_tab("NightClub Safe Loop Menu")
NCSCB = NightClubSafeMenu:add_checkbox("Enable Nitghtclub $250k/15s (Safe AFK)") SafeAmount = 250000
script.register_looped("nightclubloop", function(script) SafeCapacity = 23680 --NIGHTCLUBMAXSAFEVALUE
IncomeStart = 23657 --NIGHTCLUBINCOMEUPTOPOP5
IncomeEnd = 23676 --NIGHTCLUBINCOMEUPTOPOP100
NCRSCB = NightClubSafeMenu:add_checkbox("Enable Nitghtclub $300k/3.5s (Safe Remote AFK)")
script.register_looped("nightclubremotelooptest", function(script)
script:yield() script:yield()
if NCSCB:is_enabled() == true then if NCRSCB:is_enabled() == true then
stats.set_int(MPX() .. "CLUB_POPULARITY", 1000) SafeValue = 1845221 + self.get_id() + 268 + 360 + 6
for i = IncomeStart, IncomeEnd do
globals.set_int(262145 + i, SafeAmount)
end
globals.set_int(262145 + SafeCapacity, SafeAmount)
stats.set_int(MPX() .. "CLUB_PAY_TIME_LEFT", -1) stats.set_int(MPX() .. "CLUB_PAY_TIME_LEFT", -1)
script:sleep(2500) script:sleep(2500)
if globals.get_int(SafeValue) ~= 0 then
end
locals.set_int("am_mp_nightclub", NLCl, 1)
globals.set_int(4538089, 0)
globals.set_int(4538090, 0)
globals.set_int(4538091, 0)
script:sleep(1000)
end end
end) end)
NightClubSafeMenu:add_separator()
NightClubSafeMenu:add_button("Open Nightclub Screen", function() NightClubSafeMenu:add_button("Open Nightclub Screen", function()
SCRIPT.REQUEST_SCRIPT("appBusinessHub") SCRIPT.REQUEST_SCRIPT("appBusinessHub")
SYSTEM.START_NEW_SCRIPT("appBusinessHub", 1424) SYSTEM.START_NEW_SCRIPT("appBusinessHub", 1424)