diff options
| author | navewindre <nw@moneybot.cc> | 2023-11-15 05:47:20 +0100 |
|---|---|---|
| committer | navewindre <nw@moneybot.cc> | 2023-11-15 05:47:20 +0100 |
| commit | 9a981491b00f51d2ce33f87fa215ce8cf1708c0c (patch) | |
| tree | ca829c09e80911edbb4cad5117bc84f233d6b8f9 /sourcemod/scripting/sm_speedometer.sp | |
| parent | b0b6f32c17f5efa5b35926430e721735371c3bce (diff) | |
fix going too fast while crouched
Diffstat (limited to 'sourcemod/scripting/sm_speedometer.sp')
| -rw-r--r-- | sourcemod/scripting/sm_speedometer.sp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sourcemod/scripting/sm_speedometer.sp b/sourcemod/scripting/sm_speedometer.sp index 625395b..80d564f 100644 --- a/sourcemod/scripting/sm_speedometer.sp +++ b/sourcemod/scripting/sm_speedometer.sp @@ -235,10 +235,12 @@ public Action:Event_OnRoundEnd(Handle:event, const String:name[], bool:dontBroad { if(g_hTimer_Display[i] != INVALID_HANDLE && CloseHandle(g_hTimer_Display[i])) g_hTimer_Display[i] = INVALID_HANDLE; - } + } if( g_bShowDisplay[i] && g_iDisplayMethod == 1 && IsPlayerAlive(i) && !IsFakeClient(i) ) { - if( winner == 1 ) + if( reason == 15 ) + PrintHintText( i, "Game commencing" ); + else if( winner == 1 ) PrintHintText( i, "Round Draw" ); else if( winner == 2 ) PrintHintText( i, "Terrorists Win" ); |
