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.
Requirements:
1. Script Hook V
2. Community Script Hook V .NET
Installation:
1. Simply extract the contents of the archive to the ‘scripts’ folder where GTA V is installed
Credits:
martinator001