From 405737846f73753ade746b0506020f6720269a51 Mon Sep 17 00:00:00 2001 From: navewindre Date: Tue, 14 Nov 2023 22:32:31 +0100 Subject: make ljstats clearer, fix halftime --- sourcemod-1.5-dev/scripting/ljstats.sp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'sourcemod-1.5-dev/scripting/ljstats.sp') diff --git a/sourcemod-1.5-dev/scripting/ljstats.sp b/sourcemod-1.5-dev/scripting/ljstats.sp index 250ba56..06000c9 100644 --- a/sourcemod-1.5-dev/scripting/ljstats.sp +++ b/sourcemod-1.5-dev/scripting/ljstats.sp @@ -933,6 +933,7 @@ public OnClientPutInServer(client) g_PlayerStates[client][bShowPrestrafeHint] = true; #endif */ + g_PlayerStates[client][bShowAllJumps] = true; SDKHook(client, SDKHook_Touch, hkTouch); } @@ -1294,7 +1295,7 @@ public Action:Command_LJSound(client, args) public Action:Command_LJVersion(client, args) { - CPrintToChat(client, "{green}ljstats %s by Miu -w-", LJSTATS_VERSION); + CPrintToChat(client, "{green}ljstats %s by Miu -w-, updated by networkheaven team.", LJSTATS_VERSION); return Plugin_Handled; } @@ -1597,6 +1598,7 @@ public LJTopRecordMenuHandler(Handle:hMenu, MenuAction:ma, client, nItem) SetPanelTitle(hPanel, buf); + DrawPanelTextF(hPanel, " key gain loss time sync"); for(new i = 0; i < g_LJTop[iTable][iEntry][m_nStrafes] && i < 16; i++) { decl String:strStrafeKey[3]; @@ -1610,7 +1612,7 @@ public LJTopRecordMenuHandler(Handle:hMenu, MenuAction:ma, client, nItem) g_LJTop[iTable][iEntry][m_fStrafeSync][i]); } - DrawPanelTextF(hPanel, " %.2f%%", g_LJTop[iTable][iEntry][m_fSync]); + DrawPanelTextF(hPanel, "total sync: %.2f%%", g_LJTop[iTable][iEntry][m_fSync]); SendPanelToClient(hPanel, client, RecordPanelHandler, 0); @@ -3183,11 +3185,10 @@ PlayerLand(client) StrCat(g_PlayerStates[client][strHUDHint], HUD_HINT_SIZE, "\n"); - Format(buf, sizeof(buf), "%d; %.2f%; %.2f (%.2f)", + Format(buf, sizeof(buf), "strafes: %d (%.0f); max: %.2f", g_PlayerStates[client][nStrafes], g_PlayerStates[client][fSync], - g_PlayerStates[client][fMaxSpeed], - g_PlayerStates[client][fMaxSpeed] - g_PlayerStates[client][fPrestrafe]); + g_PlayerStates[client][fMaxSpeed]); StrCat(g_PlayerStates[client][strHUDHint], HUD_HINT_SIZE, buf); -- cgit v1.2.3