Hi there! My First Script utilizing FiveM Lua.
This script lets gamers suicide with a chat command “/suicide.” It let’s them simply suicide slightly then going for ex vMenu>Participant Associated Choices>Participant Choices> Commit Suicide as in some Roleplay eventualities timing doesn’t allow that. It additionally setup in a means in order that if the ped doesn’t have a fight pistol or pistol it routinely makes use of a capsule with a purpose to full the duty. The script additionally fires a shot as a substitute of simply the animation.
Credit score To @Scott_UK For serving to with the bottom thought of the script
Unique supply: https://discussion board.cfx.re/t/release-suicide-chat-command/3128150