I was getting annoyed with corpses disappearing so quickly, so I made this little script. There is also a config you can play around with. Hopefully there are no bugs, but if you do find any, please report them and I'll take a look.

Requirements:
    1. Script Hook V (https://www.dev-c.com/gtav/scripthookv/)
    2. Community Script Hook V .NET 3.1.0 (https://www.gta5-mods.com/tools/scripthookv-net)

Installation:
    1. Simply extract the contents of the archive to the 'scripts' folder where GTA V is installed

Created by martinator001
Thanks to the authors of Script Hook V and Community Script Hook V .NET