# CRASH on death FIX

**URL:** https://forum.neverlose.cc/t/crash-on-death-fix/591175
**Category:** Problems
**Created:** [July 25, 2026, 3:41am UTC](https://forum.neverlose.cc/t/crash-on-death-fix/591175 "2026-07-25T03:41:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ICEEEEEEERAIN22](https://forum.neverlose.cc/user_avatar/forum.neverlose.cc/iceeeeeeerain22/32/430595_2.png) [@ICEEEEEEERAIN22](https://forum.neverlose.cc/u/ICEEEEEEERAIN22)
#### Post date: [July 25, 2026, 3:41am UTC](https://forum.neverlose.cc/t/crash-on-death-fix/591175/1 "2026-07-25T03:41:42Z")

</div>

Hey, i heard that many people had problems so i searched for a fix,  
thats what i found and worked for me :D:

* * *

> **`What this does`**

This setup makes CS:GO Legacy automatically run a few console commands every time you launch the game, so you don’t have to type them in manually.

The commands in the example:

- `cl_disablefreezecam 1` – skips the freezecam that normally shows the player who killed you. Reduces certain crashes and gets you back to the action faster.
- `cl_disablehtmlmotd 1` – blocks the HTML “Message of the Day” popup that community servers can show when you connect. Prevents annoying ads and potential exploits.
- `echo "autoexec loaded"` – prints a confirmation message in the console so you can verify the file actually ran.
- `host_writeconfig` – saves your current settings to `config.cfg` so they persist.

The launch options do the following:

- `-fullscreen` – forces exclusive fullscreen (best FPS and lowest input lag).

- `-novid` – skips the Valve intro video on startup.

- `-untrusted` / `-insecure` – disables trusted mode, which is required for third-party tools/scripts to load.

- `+exec autoexec.cfg` – tells the game to run your autoexec file on startup.

#### 

> **Setting up autoexec.cfg for CS:GO Legacy**

**1. Find the right folder**

Navigate to:

```auto
...\Steam\steamapps\common\csgo legacy\csgo\cfg\

```

Make sure you’re in the `csgo legacy` folder – **not** `Counter-Strike Global Offensive` (that’s CS2).

Quick sanity check: if you see files like `config.cfg` and `video.cfg` in there, you’re in the right place.

**2. Create the autoexec.cfg file**

Open the `cfg` folder and create a new file called `autoexec.cfg`. If it already exists, just open it.

You can use Notepad, VS Code, or any text editor.

**3. Add your commands**

Paste this as a starting point:

```auto
cl_disablefreezecam 1
cl_disablehtmlmotd 1
echo "autoexec loaded"
host_writeconfig

```

**4. Save the file correctly**

If you’re using Notepad, choose **“Save as type: All Files”** when saving – otherwise Windows will secretly add `.txt` to the end and turn it into `autoexec.cfg.txt`, which won’t work.

Tip: In Windows Explorer, enable **“File name extensions”** under the View menu so you can see what the file is actually called.

**5. Set your Steam launch options**

In Steam, right-click **CS:GO Legacy → Properties → Launch Options** and paste:

```auto
-fullscreen -novid -untrusted -insecure +exec autoexec.cfg

```

The `+exec autoexec.cfg` part is important – without it, the game won’t always load your autoexec on startup.

**6. Verify it works**

Launch the game and open the developer console (default key is `^` or whatever you’ve bound it to).

If everything worked, you should see `autoexec loaded` at the top of the console output.

If you don’t see it:

- Double-check the filename isn’t `autoexec.cfg.txt`
- Make sure the console is actually enabled: **Options → Game → Enable Developer Console: Yes**
- Bind a key if you haven’t: `bind "^" "toggleconsole"`
