diff options
| author | navewindre <nw@moneybot.cc> | 2023-11-14 22:32:31 +0100 |
|---|---|---|
| committer | navewindre <nw@moneybot.cc> | 2023-11-14 22:32:31 +0100 |
| commit | 405737846f73753ade746b0506020f6720269a51 (patch) | |
| tree | 9694c32ffa5ef1a39053edf1aca5609bbef97995 | |
| parent | dc48762943a04f1cdb9010979e20ca74c6d82e5e (diff) | |
make ljstats clearer, fix halftime
| -rw-r--r-- | sourcemod-1.5-dev/scripting/ljstats.sp | 11 | ||||
| -rw-r--r-- | sourcemod/scripting/gem_halftime_teamswap.sp | 2 |
2 files changed, 7 insertions, 6 deletions
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); diff --git a/sourcemod/scripting/gem_halftime_teamswap.sp b/sourcemod/scripting/gem_halftime_teamswap.sp index 9fdc3b3..9333d58 100644 --- a/sourcemod/scripting/gem_halftime_teamswap.sp +++ b/sourcemod/scripting/gem_halftime_teamswap.sp @@ -99,7 +99,7 @@ public Event_RoundStart (Handle:event, const String:name[], bool:dontBroadcast) g_CtScore = GetTeamScore(CS_TEAM_CT); g_TScore = GetTeamScore(CS_TEAM_T); - g_roundCount = g_CtScore + g_TScore; + g_roundCount = g_CtScore + g_TScore + 1; if (g_halftime_do_resetMoney) { for (new client=1; client<=GetMaxClients(); client++) |
