mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-28 23:01:29 +00:00
Update main.lua
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user