[help] damageweapon

Right now i am having problems with my server i cant do any damage to the player with the weapon .i used all the scripts to get it working… but it failed, ai can that help me, please

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

Hi,

Have you enabled PvP ?

If no, you can create a ressource with a client script who contain this code or search for a script who enable it.

CreateThread(function()
     while true do
          Wait(0)
          SetCanAttackFriendly(GetPlayerPed(-1),true,false)
          NetworkSetFriendlyFireOption(true)
     end
end)

hi, first of all thank you very much and it worked .hope the above guide will help a few people ,sorry for my bad english

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