Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
Removed some debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
DemmyDemon committed Nov 11, 2019
1 parent 92380f7 commit 293df5b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cl_uteknark.lua
Original file line number Diff line number Diff line change
Expand Up @@ -392,10 +392,8 @@ AddEventHandler ('esx_uteknark:pyromaniac',function(location)
end
if #(location - myLocation) <= Config.Distance.Draw then
Citizen.CreateThread(function()
print("PYRO\n")
local begin = GetGameTimer()
if not HasNamedPtfxAssetLoaded(Config.Burn.Effect) then
print("Loading burning effect asset "..Config.Burn.Collection)
RequestNamedPtfxAsset(Config.Burn.Collection)
while not HasNamedPtfxAssetLoaded(Config.Burn.Collection) and GetGameTimer() <= begin + Config.Burn.Duration do
Citizen.Wait(0)
Expand All @@ -409,7 +407,6 @@ AddEventHandler ('esx_uteknark:pyromaniac',function(location)
while GetGameTimer() <= begin + Config.Burn.Duration do
Citizen.Wait(0)
end
print("End of pyro")
StopParticleFxLooped(handle, 0)
RemoveNamedPtfxAsset(Config.Burn.Collection)
end)
Expand Down

0 comments on commit 293df5b

Please sign in to comment.