mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Merge pull request #1522 from Kenshiin13/sync-look-at
feat(es_extended/client/main): sync where players look at
This commit is contained in:
@@ -44,6 +44,7 @@ RegisterNetEvent("esx:playerLoaded", function(xPlayer, _, skin)
|
|||||||
Actions:Init()
|
Actions:Init()
|
||||||
StartPointsLoop()
|
StartPointsLoop()
|
||||||
StartServerSyncLoops()
|
StartServerSyncLoops()
|
||||||
|
NetworkSetLocalPlayerSyncLookAt(true)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
local isFirstSpawn = true
|
local isFirstSpawn = true
|
||||||
|
|||||||
Reference in New Issue
Block a user