File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
addons/sourcemod/scripting Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 6
6
#include <sdkhooks>
7
7
#include <ripext>
8
8
9
- #define PLUGIN_VERSION " 1.0.3 "
9
+ #define PLUGIN_VERSION " 1.0.4 "
10
10
11
11
#define TFCONNECT_TAG " \x01 [\a 9E3083TFConnect\x01 ] "
12
12
@@ -97,7 +97,8 @@ public void OnMapStart()
97
97
98
98
AddFileToDownloadsTable (" sound/" ... CROAKER_SOUND );
99
99
100
- ServerCommand (" script_execute %s " , DONATION_SCRIPT_FILE );
100
+ SetVariantString (DONATION_SCRIPT_FILE );
101
+ AcceptEntityInput (0 , " RunScriptFile" );
101
102
}
102
103
103
104
public void OnConfigsExecuted ()
Original file line number Diff line number Diff line change @@ -6,11 +6,6 @@ const TFCO_DONATION_TEXT_SIZE = 20
6
6
local EventsID = UniqueString ()
7
7
getroottable ()[EventsID] <-
8
8
{
9
- OnGameEvent_scorestats_accumulated_update = function (params)
10
- {
11
- delete getroottable ()[EventsID]
12
- }
13
-
14
9
OnGameEvent_teamplay_round_start = function (params)
15
10
{
16
11
if (! Convars. GetBool (" sm_tfco_donation_enabled" ))
You can’t perform that action at this time.
0 commit comments