|
@@ -140,7 +140,7 @@ function mvd_start_recording()
|
|
|
|
|
|
local hostname = gi.cvar("hostname", "").string
|
|
|
|
|
|
- gi.bprintf(PRINT_HIGH, "'%s' MVD2 recording started: %s\n", hostname, mvd_file)
|
|
|
+ gi.bprintf(1, "'%s' MVD2 recording started: %s\n", hostname, mvd_file)
|
|
|
|
|
|
end
|
|
|
|
|
@@ -156,7 +156,7 @@ function mvd_stop_and_delete()
|
|
|
--$game demos/lala.mvd2.gz
|
|
|
if file_exists(mvd_pathfile) then
|
|
|
if os.remove(mvd_pathfile) then
|
|
|
- gi.bprintf('mvd.lua mvd_stop_and_delete(): Deleted the MVD2: %s\n', mvd_file)
|
|
|
+ gi.bprintf(PRINT_HIGH, 'mvd.lua mvd_stop_and_delete(): Deleted the MVD2: %s\n', mvd_file)
|
|
|
else
|
|
|
gi.dprintf('mvd.lua mvd_stop_and_delete(): Problems deleting MVD2: %s\n', mvd_file)
|
|
|
end
|
|
@@ -166,7 +166,7 @@ function mvd_stop_and_delete()
|
|
|
end
|
|
|
else
|
|
|
if mvd_records == true then
|
|
|
- gi.bprintf('Be quick to ready up again! MVD2 is still recording!\n')
|
|
|
+ gi.bprintf(PRINT_HIGH, 'Be quick to ready up again! MVD2 is still recording!\n')
|
|
|
end
|
|
|
end
|
|
|
|
|
@@ -175,6 +175,7 @@ end
|
|
|
|
|
|
function mvd_stop()
|
|
|
if mvd_records == true then
|
|
|
+ gi.dprintf('mvd.lua mvd_stop(): stopping MVD recording...\n')
|
|
|
gi.AddCommandString("mvdstop\n")
|
|
|
mvd_records = false
|
|
|
-- if file exists in game dir, advertise it:
|
|
@@ -370,4 +371,4 @@ end -- of LogMessage
|
|
|
|
|
|
--[[
|
|
|
# vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 autoindent:
|
|
|
---]]
|
|
|
+--]]
|