Utilize This LUA Script (Yim Menu) to Automate CEO & Hangar (Cargo Sourcing) in GTA V Enhanced!
In the sprawling underground economy of Grand Theft Auto V Enhanced Edition, time is money—grinding repetitive CEO and Hangar resupply missions—generally takes longer than profit earns. Thankfully, there are modders out there who have devised a LUA script that takes and tightens the entire cargo-sourcing process into an automated package. This CEO & Hangar Auto Source Cargo script, for Yim Menu Enhanced, is one of the best ways to resupply your businesses and consistently without you doing anything.
Whether you are farming crates, filling your hangar with contraband, or simply would like to avoid the mind-numbing task of manual resups, this script allows you to almost plug-and-play and lets you perform in the background taking up little to none of your time.
🛠 What the Script Does
The script that I uploaded “CEO & HANGER AutoSource Caego.lua”, acts as a timer that fires a series of game stats at the same time that simulates successful sourcing of both CEO crates and Hangar cargo. What does that mean? It means that it’s going to keep enabling internal variables the game uses at source missions, and as you can guess, the game doesn’t know what’s going on.
This code does a few things:
✅ Creates an array of packed boolean stats that are linked to CEO and Hangar cargo collection.
✅ Forces the game to see those as an active or completed sourcing situation.
✅ Uses script.yield() to continuously loop without freezing your game session.
Here is the result! Your businesses will begin to collect goods in a passive way, and you do not have to start or complete a mission.
💼 Why You Would Want This Script
Running CEO or Hangar businesses with manual missions can take a significant amount of time:
Each time you do a crate mission, you travel to the mission area, pickup the crates, get chased by random AI, and then go back to deliver the crates.
Hangar missions are even worse in that you have to travel long distances and receive random types of cargo.
The repetitive nature of this constant action increases burnout and makes grinding toward your empire less enjoyable.
With this script, all of this will be able to be automated. You would be able to focus on gameplay, PvP, spending money, or just AFK grind without the worry of losing time from idling stuck at the warehouse.
🚀 Script Usage via Yim Menu
Step 1: Start GTA V Enhanced (v1.71+)
Getting started is simple, load up your game and make sure it’s updated to the latest version, loading into Story Mode or a solo pubic session will be the ideal route.
Step 2: Inject Yim Menu
Once the game is running, use your preferred injector (Xenos and S.I.L.O being the most common) to inject the YimMenu.dll to the game. Make sure Battleye is disabled before proceeding.
Step 3: Open the LUA scripts folder
In the Yim Menu:
Hit INSERT to bring up the menu.
Go to Settings > LUA Scripts > Open LUA Scripts Folder.
Step 4: Drop the script
Now that you have the scripts folder open, just drag & drop the CEO & HANGER AutoSource Caego.lua script into the folder.
Step 5: Reload All Scripts
After you’ve added the script, go back into the Yim Menu and click on “Reload All”. You won’t see a visual for this particular script, as it runs silently in the background once activated. Tip: You can add a console log or notification to let you know the sourcing loop is still running if you’d like to.
How It Works (Behind The Scenes)
GTA V stored the persistent player state in packed boolean values (PSTATs) to keep track of player progress. These include things like player missions, cargo sourcing, unlocks and more. This script toggles a range of PSTATs (to be specific):
to 32363: Grounded in the CEO sourcing crates
36828: could be anything but appears generally relating to Hangar or being ready in any session
By repeatedly setting these values to true, it fools the game into believing the cargo had been sourced. When you later check your warehouse or hangar, you can find all the goods and items have been created—without the run of a single sourcing mission.
How You Benefit Using the Script:
Fully Automated sourcing— No need to start a single mission. Everything confrontational and complicated (delivery, combat on mission, retrieval) is all avoided.
Time saver — Passive cargo generation, meaning you can gather focus onto other earning opportunities (i.e. Heist agendas and nightclub function).
Faster profit — Filling warehouses and hangars, and then selling at value becomes an important, quick money-making means.
Enhanced gameplay — By sourcing automatically, you are spending less time grinding and getting-on with the actual game.
Important Points to Consider
Although this script is passive and not stressing game stability, there are points of consideration:
Always remain in a safe session (invitation only or solo public) to reduce common detection.
Don’t mix this tool with other automated farming resources at the same time.
Don’t leave idling too long unattended to prevent from kicking you due to inactivity.
Rockstar anti-cheat certainly can’t distinguish rapid stat changes from its normal play, but use on your own responsibly.
Disclaimer: This script is intended for educational purposes only. Please use it responsibly and understand that if you are modding you are always taking a risk, in particular in a GTA Online environment.
Pairing Suggestions
If you want to truly and infinitely passive money empire, you would easily use this script in conjunction with:
Nightclub Passive Generator booster script
Auto Sell Cargo for CEO script
Max Business Upgrades activation script
Using these in combination, you will generate a truly and virtually automated passive income empire where all of your GTA businesses will source and sell cargo.
Storage & Persistence
It’s one of the fantastic points about this script: the cargo is persistent between sessions. Investment and preparation:
Inject the script in limited time moments (hour at the dedicated session).
Aggregate crates and cargo.
Then you can resell, and sell what you collected at full payout.
There is no need to be forced to be running it full-time—use it on and off as you wish.
Final Thoughts
If you are serious about efficient game-play with GTA V Enhanced Edition, CEO & Hangar Auto source Cargo is an essential tool. It’s what the best advocacy for what modding can be: a genuine resource that saves time and makes your overall game-play experience more dynamic and unique.
If you’re not honed-down busy with a full-scale GTA empire, or you’re a causal player who is fatigued with the repetitive busywork, this LUA script introduces automation power into your hands with very minimal set up. Inject, enter, reload your game, and watch your warehouses fill up.
Because of common contributors like ShinyWasabi and the entire GTA scripting community, Enhanced Edition players have avenue of expression and more flexibility to develop Los Santos into a thriving criminal empire, minus the grind.
Video Guide
Credits to #ShinyWasabi, L7neg(Dev) & the team behind it