Can't Shoot Eachother!

So I and my two friends are trying to make a Fivem server and we had everything perfect, the guns were great. WHen we tried to shoot eachother, the guns didn’t shoot at the person. We could shoot everything but eachother.

You need to enable PVP with something like this: [RELEASE] PvP Enabled

2 Likes

Thank you!!

1 Like

No problem. Glad I could help!

is this still up because i cant downlad it

No, the content was removed.

Below is a quick snippet. If you do not know how to use this code, create a new thread instead of replying here. You’re primarily looking to use NetworkSetFriendlyFireOption & SetCanAttackFriendly.

AddEventHandler("playerSpawned", function(spawn)
    SetCanAttackFriendly(GetPlayerPed(-1), true, false)
    NetworkSetFriendlyFireOption(true)
end)

GOOD! Make love not war wtf guys!

Bro pls tell me where I put these lines ?