So in that case, dead players can open their inventory when dead?
or is it another player that is meant to use the medikit?
I would honestly suggest getting a Defibrillator-script in instead, which allows another player who isn’t a ems-worker to use on you to get you revived.
If you like that idea, you´ve got two options.
Free: [RELEASE] [ESX] Defib (Updated 18/10/2020)
Paid: Smart Defib - Realistic Public Defib System - [QBCore/ESX/vRP/Standalone]
If you don’t like that idea, its totally fine. Just let me know what you want made and il try my best to help you