aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod/scripts/vscripts/client/cl_gamestate.gnut
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts/client/cl_gamestate.gnut')
-rw-r--r--Northstar.Client/mod/scripts/vscripts/client/cl_gamestate.gnut8
1 files changed, 8 insertions, 0 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/client/cl_gamestate.gnut b/Northstar.Client/mod/scripts/vscripts/client/cl_gamestate.gnut
index 93be01ea..1baeae9f 100644
--- a/Northstar.Client/mod/scripts/vscripts/client/cl_gamestate.gnut
+++ b/Northstar.Client/mod/scripts/vscripts/client/cl_gamestate.gnut
@@ -1105,8 +1105,16 @@ void function DisplayPostMatchTop3()
RuiSetBool( rui, "isFriendly" + i, localTeam == players[i].GetTeam() )
}
}
+
+ if ( GetConVarBool( "hud_takesshots" ) )
+ thread TakeScoreboardScreenshot_Delayed()
}
+void function TakeScoreboardScreenshot_Delayed()
+{
+ wait 1.5
+ GetLocalClientPlayer().ClientCommand( "jpeg" )
+}
float function GetGameStartTime()
{