mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:01:24 +00:00
fix: value assigned to variable 'turnSpeed' is unused
This commit is contained in:
@@ -59,7 +59,7 @@ function QBCore.Functions.LookAtEntity(entity, timeout, speed)
|
||||
local dx = targetPos.x - playerPos.x
|
||||
local dy = targetPos.y - playerPos.y
|
||||
local targetHeading = GetHeadingFromVector_2d(dx, dy)
|
||||
local turnSpeed = nil
|
||||
local turnSpeed
|
||||
local startTimeout = GetGameTimer()
|
||||
while true do
|
||||
local currentHeading = GetEntityHeading(ped)
|
||||
|
||||
Reference in New Issue
Block a user