Auto Resource Cargo Scripot for Yim Menu Agents of Sabotage
💼 GTA V Special Cargo Script for Yim Menu (1.70 DLC Update)
This script is a robust Lua extension that enables the player to have easier management of Special Cargo sell and buy missions. Designed around the 1.70 DLC (The Money Front), it lets you customize cooldowns, sell values, and mission completion times.
📜 Features
Instantly Finish Sell Mission: instantly skips to the payouts without needing to play through the mission.
Instantly Finish Buy/Steal Mission: simulates the buy mission’s logic as being complete.
Disabling Buy/Sell Cooldowns: well… you will not have to wait between all your cargo trades for cooldowns.
Set Sale value: you can set your sale price and the player will receive $4,000,000 from it.
🧠 How the Script Works:
This script calls directly into the mission controller script withing Rockstars folders, if there are any, using the two main mission scripts called gbcontrabandsell and gbcontrabandbuy, that handle all the type of contraband selling and buying content GTA Online has to offer. Im guessing you probably already know this, but it is worth explaining how this maybe work. As a note here, this script sets mission states and states that contain globals that are responsible for cooldown state machine logic and sale pricing.
📦 Functions being called:
`lua submenu:addaction(“Insta Finish Sell Mission”, function() — sets mission state for sell mission to finish (intactive mission) instantly end) submenu:addaction(“Insta Finish Buy/Steal Mission”, function() — handles buy mission without any logic in one tick end) submenu:addaction(“No Buy/Sell Cooldown”, function() — sets all waits to be zero when doing buy/sell inmission trades. end) submenu:addaction(“Set Price(4M)”, function() — updates all cargo tiers to be relative to While the cargo that is worth exactly $4,000,000. end)
📋 Requirements GTA V v1.70 (Money Front DLC) YimMenu or compatible Lua executor Run in private session Recommended to run in a private session if you can =)
🛠️ Installation Instructions
Copy the Lua code to new file (for example specialcargov2.lua)
Place the new file in your YimMenu /scripts folder
Launch GTA V and open your menu
Click on Special Cargo $ tab
Get started managing your cargo flow with toggles and buttons provided.
🛡️ Disclaimer
This script is for educational purposes and/or use only in sandbox type settings. Using THIS in public lobbys could violate Rockstar’s Terms of Service. Please use responsibly and be aware of other players, and effects to their gameplay
💬 Get Help?
If you would like some help with modding and things in GTA V join our Discord community for the latest updates, support, and of course private builds.
What Cargo Auto Source Script is all about ?
The script puts game content into groups – it sorts event and collectible data from many in game activities. It builds tabbed parts under a main menu. The main menu is called “Daily Collectibles”. Each tab goes with a different collectible group – Challenges, Hidden Caches, Treasure Chests, Shipwrecked Locations, Buried Stashes, Junk Energy Skydives, Time Trials, Exotic Exports, G’s Cache (Dead Drop), Stash Houses, Street Dealers, LS Tags (Graffiti Sprays), and Madrazo Dispatch Hits.
Every tab helps the player run that event or collectible – it tracks when a player finishes an event. It gets data from inside the game – it turns on or off special features for finding problems or changing things.
The script has many good uses. People who create videos turn events on or off for filming. Mod testers check where collectibles sit and how the script works. Players who want to finish everything track collectibles.
Uses of this Script :
This script has many common uses.
For content creators, it controls when events start or stop for recordings or film.
Mod testers find it helpful to check where collectibles are and how scripts work.
Players who finish all parts of a game use it to find collectibles.
Modders who study learn how Rockstar organizes collectible logic through global and local memory.
The script only works for offline or single player modding – it does not change money, player information, or how players join games. The design helps it avoid problems in public games.
You use it well in single player games. It also works in invite only games. The script works in places that permit mods.
Using the script to learn or to create film content is good. Changing collectible values in public games or sharing progress badly is not good.
Code :
local daily_collectibles_tab = gui.get_tab("Daily Collectibles")
local challenges_tab = daily_collectibles_tab:add_tab("Challenges")
local hidden_cache_tab = daily_collectibles_tab:add_tab("Hidden Caches")
local treasure_chest_tab = daily_collectibles_tab:add_tab("Treasure Chests")
local shipwrecked_tab = daily_collectibles_tab:add_tab("Shipwreck")
local buried_stash_tab = daily_collectibles_tab:add_tab("Buried Stashes")
local junk_skydive_tab = daily_collectibles_tab:add_tab("Junk Energy Skydives")
local time_trials_tab = daily_collectibles_tab:add_tab("Time Trials")
local exotic_exports_tab = daily_collectibles_tab:add_tab("Exotic Exports")
local dead_drop_tab = daily_collectibles_tab:add_tab("G's Cache")
local stash_house_tab = daily_collectibles_tab:add_tab("Stash House")
local street_dealer_tab = daily_collectibles_tab:add_tab("Street Dealers")
local ls_tags_tab = daily_collectibles_tab:add_tab("LS Tags")
local madrazo_hits_tab = daily_collectibles_tab:add_tab("Madrazo Hits")
local GDCC = 0xC1D44
local GSDC = 0x5CEAA5
local global_one = 1943602
local global_two = 1943591
local global_three = 2739811
local global_three_offset_one = 6852
local global_three_offset_two = 6937
local global_four = 1882379
local global_five = 1950396
local global_five_offset = 6028
local current_objectives_global = 2359296
local current_objectives_global_size = 5571
local current_objectives_global_offset = 4245
local weekly_objectives_global = 2738865
local objectives_state_global = 1574744
local freemode_local_one = 14486
local freemode_local_two = 14536
local freemode_local_three = 15339
local stash_house_local_one = 3602
local stash_house_local_one_offset = 528
local skydive_local_one = 274
local skydive_local_two = 3305
local daily_bounty_local_one = 2612
local daily_bounty_local_one_offset = 373
local daily_bounty_local_two = 237
local daily_bounty_local_two_offset = 434
local fm_content_shared_local = 140
local selected_dealer = 0
local selected_cache = 0
local selected_skydive = 0
local selected_treasure = 0
local selected_stash = 0
local selected_trial = 0
local selected_tag = 0
local weekly_obj_id = 0
local weekly_obj_override = 0
local max_cocaine = 0
local max_meth = 0
local max_weed = 0
local max_acid = 0
local total_products = 0
local all_products = 0
local active_vehicle = 0
local vehicle_bitset = 0
local dead_drop_collected = false
local stash_house_raided = false
local shipwrecked_collected = false
local spray_can_collected = false
local hit_completed = false
local exotic_reward_ready = false
local always_gold_medal = false
local pause_timer = false
local bail_office_owned = false
local weapon_of_choice = false
local weekly_obj_str = ""
local safe_code = "N/A"
local daily_obj = {}
local daily_obj_str = {}
local dealer_loc = {}
local junk_skydive_loc = {}
local trial_loc = {}
local hidden_cache_collected = {}
local treasure_chest_collected = {}
local buried_stash_collected = {}
local trial_beaten = {}
local ls_tag_sprayed = {}
local meth_unit = { 0, 0, 0 }
local weed_unit = { 0, 0, 0 }
local cocaine_unit = { 0, 0, 0 }
local acid_unit = { 0, 0, 0 }
Instructions : How to Inject Script With Menu
Step 1 : Make Sure you have Copied already Yim Menu files and everything like FSL, Then Inject the Menu asusual on the Launchpad
Step 2 : Later on Join the FreeMode Session / Lobby / Solo Session as your comfortable with any of it then try to Open Yim Menu by Pressing “INSERT” Key, Then open the Settings > Lua Scripts > Open Lua Scripts Folder, once the Folder has been opened then copy and paste the script which you have downloaded into that scripts folder, as on the picture below
Step 3 : Then once the script is been activated go to any of the cargo resourcing business such as in my case i will be going to bunker and acid labs to show you guys,once your at the business then click on yim resupplier and press that to auto generate the cargo to start .
Step 5 : So at the end you will be recieveing the desired cargo as you set on the menu settings ,Thats it Enjoy the script while in your in the mission or in a freemode session, now we doesnt need to all the time go to the re-source the cargo,This is how the Script is Injected, Hope you like it!
In-Game Pictures:
Video of the Script
Credits to #ShinyWasabi, Mr.X (Github), & L7negSharing the Script
Download Links :
Frequently Asked Questions