[Release] [Standalone] 1.1 MJ-DEATH | Death script

As @Clatanii says it depends on the server artifact, not everyone have updated to the latest artifact that’s why they encounter some error with the fxmanifest

very nice mate

who have this script likes in vidio https://streamable.com/g0yfj

1 Like

This is due to MenuAPI (which is what vMenu uses) running a check to see if the player is alive, if they are not then it will not allow the menu to load, which makes sense as some menu options will have issues when trying to interact with a dead ped.

Reading your code, I see that you adjust the players health to 200 and set them into a dead animation, I assume this is to allow the players view to be controlled i.e. look around. If you were to trigger the NetworkResurrectLocalPlayer before setting them into a death animation then it would allow the vMenu to be used as you’re saying their are alive but are in an animation of ‘dead’… worth playing around with as you might need to freeze the player so they don’t move around. Without playing with the code myself I can only assume this is a possible way of making it work.

how do you revive other players if ur an ems or an admin?