forked from Simnation/Main
Update main.lua
This commit is contained in:
parent
27eb88ac1d
commit
ac7a7489e3
1 changed files with 4 additions and 3 deletions
|
@ -678,7 +678,7 @@ function DespawnTaxi()
|
|||
if destinationBlip then
|
||||
RemoveBlip(destinationBlip)
|
||||
destinationBlip = nil
|
||||
|
||||
end
|
||||
|
||||
-- Nach 10 Sekunden tatsächlich löschen
|
||||
SetTimeout(10000, function()
|
||||
|
@ -709,7 +709,7 @@ function DespawnTaxi()
|
|||
if destinationBlip then
|
||||
RemoveBlip(destinationBlip)
|
||||
destinationBlip = nil
|
||||
}
|
||||
end
|
||||
|
||||
-- Taxi löschen
|
||||
if currentTaxi and DoesEntityExist(currentTaxi) then
|
||||
|
@ -721,7 +721,8 @@ function DespawnTaxi()
|
|||
|
||||
print("^2[TAXI DEBUG]^7 Taxi despawn completed (no driver)")
|
||||
end
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
function CalculateDistanceToCoords(coords)
|
||||
local playerCoords = GetEntityCoords(PlayerPedId())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue