More logging to stinky tracker

This commit is contained in:
2025-01-10 13:22:14 +01:00
parent 30fae67f6c
commit 23bf656f82

View File

@@ -28,6 +28,7 @@ function shared.StinkyTracker.Init()
if Heimdall_Data.config.stinkyTracker.debug then if Heimdall_Data.config.stinkyTracker.debug then
print(string.format("[%s] Found hostile player: %s (%s) at %s", ModuleName, name, class, print(string.format("[%s] Found hostile player: %s (%s) at %s", ModuleName, name, class,
date("%H:%M:%S", time()))) date("%H:%M:%S", time())))
shared.dumpTable(stinkies)
end end
end end
return stinkies return stinkies
@@ -91,6 +92,7 @@ function shared.StinkyTracker.Init()
stinkies[name] = stinky stinkies[name] = stinky
if Heimdall_Data.config.stinkyTracker.debug then if Heimdall_Data.config.stinkyTracker.debug then
print(string.format("%s: Found stinky in arrived: %s/%s", ModuleName, name, class)) print(string.format("%s: Found stinky in arrived: %s/%s", ModuleName, name, class))
shared.dumpTable(stinkies)
end end
return stinkies return stinkies
end end