@@ -13,10 +13,6 @@ local gta_version = "v3095"
1313local dcinv = "fg6Ex4PbkJ"
1414local dev_mode = false -- Disables stuff like updates [true/false]
1515
16- local function tunable(value)
17- return memory.script_global(glob.base + value)
18- end
19-
2016-- Add all SE's here for quicker updates
2117local se = {
2218 tpspread = -1388926377, -- older gta se version
@@ -52,11 +48,18 @@ local glob = {
5248 sekickarg1 = 2657704,
5349 sekickarg2 = 1892703, -- older gta global version
5450 player_bounty = 1835502, -- older gta global version
55- bounty1 = 2815059, -- older gta global version
51+ bounty1 = 2815059 -- older gta global version
52+ }
53+
54+ local function tunable(value)
55+ return memory.script_global(glob.base + value)
56+ end
57+
58+ local globals = {
5659 nightclub_prices = {
57- ["La Mesa"] = tunable(24838),
58- ["Mission Row"] = tunable(24843),
59- ["Vespucci Canals"] = tunable(24845)
60+ ["La Mesa"] = tunable(24838), -- older gta global version
61+ ["Mission Row"] = tunable(24843), -- older gta global version
62+ ["Vespucci Canals"] = tunable(24845) -- older gta global version
6063 }
6164}
6265
@@ -2332,7 +2335,7 @@ while nc == nc_owned do
23322335nc = nc_options.first[math.random(#nc_options.first)]
23332336end
23342337
2335- local price = memory.read_int(glob .nightclub_prices[nc])
2338+ local price = memory.read_int(globals .nightclub_prices[nc])
23362339
23372340if wallet ~= nil and bank ~= nil then
23382341if wallet + bank < price then
0 commit comments