This script lets players suicide with a chat command “/suicide.” It let’s them easily suicide rather then going for ex vMenu>Player Related Options>Player Options> Commit Suicide as in some Roleplay scenarios timing does not permit that. It also setup in a way so that if the ped does not have a combat pistol or pistol it automatically uses a pill in order to complete the task. The script also fires a shot instead of just the animation.
Hey thanks for the script but you should be using fxmanifest.lua and not the depreciated __resource.lua, you can view the updated documentation here: Resource manifest
Usually via exports - those are shared between all resources if they are defined properly within the “progbar” resource and should work just fine.
I would be very surprised if “mythic_progbar” had no documentation on how you’d implement a progress bar from that to some other resource.