Fivem server making issue

Hello! So im making fivem rp server and i have issue, i can take guns and stuff but i cannot shoot any players, i cant hit them with my fist and i cant shoot. Is there anything i need to try? delete something or what should i do?

Did u fix it?

It probably has something to do with you need to enable pvp. Have you guys tried this?

local playerPed = PlayerPedId()
SetCanAttackFriendly(playerPed, true, false)
NetworkSetFriendlyFireOption(true)