How to Enable PVP on FiveM Server
How to Enable PVP on FiveM Server
When joining your FiveM server for the first time with a friend, you might notice that you aren't able to kill them. By default, player-on-player combat (friendly fire) is not enabled on FiveM. In this guide, we’ll walk you through the steps to enable PVP on your FiveM server.
Creating a Script
To enable PVP on your FiveM server, you will need to make a script:
- Access the Apollo Panel.
- In the Files tab, open the
resourcesfolder. - Create a new folder called "FriendlyFire"

- In the "FriendlyFire" folder, create a new file named "fxmanifest.lua", enter the following code:
fx_version 'adamant'
game 'gta5'
client_script 'client.lua'
- In the "FriendlyFire" folder, create a new file named "client.lua", enter the following code:
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
NetworkSetFriendlyFireOption(true)
end
end)
- Save both files, then restart your server.
Congratulations, you have successfully enabled PVP on your FiveM server!
Updated on: 17/07/2026
Thank you!