From 00f40b856e8ad4970b9240bc9cb493851147a363 Mon Sep 17 00:00:00 2001 From: GhzGarage <57848836+GhzGarage@users.noreply.github.com> Date: Fri, 2 Apr 2021 23:38:20 -0500 Subject: [PATCH] Update main.lua --- qb-core/client/main.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/qb-core/client/main.lua b/qb-core/client/main.lua index dc8ed81..012f97e 100644 --- a/qb-core/client/main.lua +++ b/qb-core/client/main.lua @@ -17,11 +17,8 @@ end) RegisterNetEvent('QBCore:Client:OnPlayerLoaded') AddEventHandler('QBCore:Client:OnPlayerLoaded', function() - local ped = PlayerPedId() ShutdownLoadingScreenNui() isLoggedIn = true - SetCanAttackFriendly(ped, true, true) - NetworkSetFriendlyFireOption(true) end) RegisterNetEvent('QBCore:Client:OnPlayerUnload')