fivem icon indicating copy to clipboard operation
fivem copied to clipboard

New Crash Method South menu

Open Giorgioofficial opened this issue 6 months ago • 6 comments

What happened?

Pls fix new crash method

Expected result

Not crash

Reproduction steps

/////

Importancy

Crash

Area(s)

FiveM

Specific version(s)

Windows

Additional information

No response

Giorgioofficial avatar May 15 '26 22:05 Giorgioofficial

My fix has already been merged, please just be patient until it gets promoted to production, or use canary. https://github.com/citizenfx/fivem/commit/7e1c2b24a8945fe18f618bc7f47967aa798550ab

Someone told me this might fix it in the meantime:

CreateThread(function() 
    while true do
        Wait(0)
        local selfPed = PlayerPedId()
        for k,v in pairs(GetGamePool('CPed')) do
            if v ~= selfPed then
                if GetIsTaskActive(v, 165) then
                    ClearPedTasksImmediately(v)
                    DeleteEntity(v)
                end
            end
        end
    end
end)

divocbn avatar May 15 '26 23:05 divocbn

next time, please attach a crash dump: a message like "crash from the south menu" isnt usually very helpful 😁

divocbn avatar May 15 '26 23:05 divocbn

is that code will block this crash ??

xx64qaz avatar May 18 '26 01:05 xx64qaz

CfxCrashDump_2026_05_15_19_41_55.zip

I think this crash is via south menu

mas7or123 avatar May 18 '26 13:05 mas7or123

yes i know it crash with the south menu we just i want to know if the code that provided by @divocbn its working or not

xx64qaz avatar May 18 '26 14:05 xx64qaz

yes i know it crash with the south menu we just i want to know if the code that provided by @divocbn its working or not

Yes its working

Levin6053 avatar May 18 '26 17:05 Levin6053