Help How do i remove robbing when dead qbcore

hey guys can someone help me and tell where I can remove robbing someone while dead but can still rob them alive when there hands are up I’m QBCore

which script is it?

Qb-policr

You could add those 3 lines to the “police:client:RobPlayer” event:

    if IsEntityDead(playerPed) == true or IsPedFatallyInjured(playerPed) == true then
        return QBCore.Functions.Notify("your message here - blabla", "error")
    end

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.