[RESOLVED] PVP problem | Problème PVP

Du coup bonjour à vous, je rencontre un problème sur mon serveur.
J’ai activé le pvp sauf que il y’a un problème :

Pour tuer une personne (joueur) il lui faut au minimum 4 balles dans la tête peut importe l’arme. De même pour les coups de poing il en faut beaucoup pour tuer celle-ci.
J’aimerais donc savoir d’ou viens le problème …

Pour info voici les lignes de commande pour mon pvp :

AddEventHandler(“playerSpawned”, function()
NetworkSetFriendlyFireOption(true)
SetCanAttackFriendly(PlayerPedId(), true, true)
end)

Merci d’avance pour votre aide :slight_smile:

So hello to you, I have a problem on my server.
I activated the pvp except that there is a problem:

To kill a person (player) he needs at least 4 bullets in the head, regardless of the weapon. In the same way for the punches it takes a lot to kill this one.
So I would like to know where the problem comes from.

For info here are the command lines for my pvp:

AddEventHandler(“playerSpawned”, function()
NetworkSetFriendlyFireOption(true)
SetCanAttackFriendly(PlayerPedId(), true, true)
end)

Thank you in advance for your help :slight_smile:

try with this:

AddEventHandler(“playerSpawned”, function()
    NetworkSetFriendlyFireOption(true)
    SetCanAttackFriendly(PlayerPedId(), true, true)
    SetPedSuffersCriticalHits(PlayerPedId(), true)
end)

My problem is solved for some time I found the solution: D
But thank you for your help!

1 Like