PVP Keeps turning off

Hey so I’m not really sure what’s going on but whenever I restart my server or someone joins it turns off PVP. I’m not sure what’s doing it but to fix it I need to go to the permissions.cfg and change the number for pvp to 1. But it resets after every server restart. Any way/resource to override it so I don’t have to do this all the time?

Put this client side, in any client.lua :

AddEventHandler(“playerSpawned”, function()
local player = PlayerId()
local playerPed = GetPlayerPed(-1)
– Enable pvp
SetCanAttackFriendly(playerPed, true, true)

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