Update main.lua

This commit is contained in:
GhzGarage
2021-04-02 23:38:20 -05:00
parent d32fe3695d
commit 00f40b856e
-3
View File
@@ -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')