Esx how to turn on pvp

If an issue with starting:
GTA V folder screenshot
GTA V/update/x64/dlcpacks screenshot
Filepath to FiveM folder
FiveM client folder screenshot
Did you try to disable/uninstall your Anti-virus?

Also add what you already tried so far.

how can i make pvp on my sever so i can kill other players

1 Like

The “enable pvp” feature has been removed from essentialmode since recent commit

Try one of these scripts

1 Like

Just add this to one of your client scripts

Citizen.CreateThread(function()
    while true do
        Citizen.Wait(10)
            SetCanAttackFriendly(PlayerPedId(), true, false)
            NetworkSetFriendlyFireOption(true)
    end
end)
1 Like

Performance wise you shouldn’t put this in an infinite loop. Something like AddEventHandler("playerSpawned", function() makes more sense.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.