MTA:SA error code
MTA:SA error CC40
MTA loaded a module that is not the one it expected.
How to fix it
Repair your MTA installation
Run the current installer from multitheftauto.com over your existing installation. It replaces MTA's own files without touching your settings.
Use a clean GTA: San Andreas
MTA needs an unmodified GTA installation. If mods, an ASI loader or a replaced gta_sa.exe are in the game folder, reinstall GTA into a fresh folder and let MTA use that copy.
Still not fixed? Copy the whole message, not only the code, and check your log in the Fix tool. It is read on your own computer.
About this code
A file in the MTA folder has been replaced or is left over from another version.
MTA's own client shows a CC code when something fails before or during a connection: the address, the nickname, a module it could not load, or the connection itself. MTA's own documentation gives CC40 as Incorrect module.
All fix guides · Every MTA:SA error code · Crash codes and offsets
Where this comes from
Read on 5 September 2026 and written in our own words here.