mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 02:01:33 +00:00
Typo
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@ RegisterNetEvent('QBCore:Client:OnPlayerUnload', function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
RegisterNetEvent('QBCore:Client:PvpHasToggled', function(pvp_state)
|
RegisterNetEvent('QBCore:Client:PvpHasToggled', function(pvp_state)
|
||||||
SetCanAttackFriendly(PlayerPedId(), pvp_state, pvp_state)
|
SetCanAttackFriendly(PlayerPedId(), pvp_state, false)
|
||||||
NetworkSetFriendlyFireOption(pvp_state)
|
NetworkSetFriendlyFireOption(pvp_state)
|
||||||
end)
|
end)
|
||||||
-- Teleport Commands
|
-- Teleport Commands
|
||||||
@@ -139,4 +139,4 @@ RegisterNetEvent('QBCore:Command:ShowMe3D', function(senderId, msg)
|
|||||||
Wait(0)
|
Wait(0)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user