Last active
May 17, 2020 04:16
-
-
Save shanapu/de0a3e3168c201cce019f5e0ca8f935e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <sourcemod> | |
#include <cstrike> | |
#pragma semicolon 1 | |
#pragma newdecls required | |
public void OnPluginStart() | |
{ | |
RegAdminCmd("sm_endround", Command_EndRound, ADMFLAG_ROOT); | |
} | |
public Action Command_EndRound(int client, int args) | |
{ | |
CS_TerminateRound(5.5, CSRoundEnd_Draw, true); | |
return Plugin_Handled; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment