> For the complete documentation index, see [llms.txt](https://gabjeksuper.gitbook.io/fiveguard-configuration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gabjeksuper.gitbook.io/fiveguard-configuration/block-expolits/block-crash-methods/before-reading/0x57-0x3e.md).

# 0x57 / 0x3e

Add this function to prevent this crash method&#x20;

* `GTA5_b3258.exe!sub_14166F0EC (0x57)`
* `GTA5_b3258.exe!sub_141666F7 (0x3e)`

```
--server side
CreateThread(function()
    while true do
        Wait(150)
        for _, src in ipairs(GetPlayers()) do
            local ped = GetPlayerPed(src)
            if ped ~= 0 then
                local specific = GetPedSpecificTaskType(ped, 0)
                local cmd = GetPedScriptTaskCommand(ped)
                if specific == 57 or cmd == 57 or cmd == 313 then
                    ClearPedTasksImmediately(ped)
                end
            end
        end
    end
end)
```

You need to manually add Fiveguard ban export at the end. Read more [here](https://docs.fiveguard.net/exports/server-side-exports#ban-export)&#x20;

**FiveM has actually fixed this crash issue, so there is no longer any need to add this feature to your server.**
