This file contains hidden or 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
| using System; | |
| using System.Runtime.CompilerServices; | |
| using System.Threading.Tasks; | |
| public class Class1 | |
| { | |
| static Class1() | |
| { | |
| DoThing(); | |
| } |
This file contains hidden or 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
| using SteamKit2; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace SteamConnection | |
| { | |
| class Program |
This file contains hidden or 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 <left4downtown> | |
| Handle:g_SurvSetCVar; | |
| public OnPluginStart() | |
| { | |
| g_SurvSetCVar = CreateConVar("l4d_force_survivorset", "2", | |
| "Forces specified survivor set (0 - do not force, 1 - force l4d1 set, 2 - force l4d2 set (allows to use l4d2 survivors voices in l4d1 campaigns))", | |
| FCVAR_PLUGIN); | |
| } |
This file contains hidden or 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 <sdktools> | |
| #include <left4downtown> | |
| #include <l4d2_direct> | |
| #define L4D2UTIL_STOCKS_ONLY | |
| #include <l4d2util> | |
| //#include <sendproxy> | |
| public Action:L4D2_OnEndVersusModeRound(bool:countSurvivors) |
This file contains hidden or 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
| # HG changeset patch | |
| # Parent bf0211912ba1b67fc60d80038627156bb85e2779 | |
| Gamerules GetData natives. | |
| diff -r bf0211912ba1 -r 03044c5b5fdf extensions/sdktools/gamerulesnatives.cpp | |
| --- a/extensions/sdktools/gamerulesnatives.cpp Sun Jan 27 12:49:25 2013 -0800 | |
| +++ b/extensions/sdktools/gamerulesnatives.cpp Sun Jan 27 12:50:49 2013 -0800 | |
| @@ -87,6 +87,18 @@ | |
| PropField_String_T, /**< Valid for Data fields. Read only! */ | |
| }; |
This file contains hidden or 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 <sdktools> | |
| #include <left4downtown> | |
| #include <l4d2_direct> | |
| #include <l4d2util> | |
| stock SetVersusRoundInProgress(bool:inProgress) | |
| { | |
| static Address:pRoundInProgress = Address_Null; | |
| if(pRoundInProgress == Address_Null) |
This file contains hidden or 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
| // ==UserScript== | |
| // @name YoutubeUploadsHomepage | |
| // @namespace Youtube | |
| // @description Youtube Button goes to uploads page | |
| // @include http*://*.youtube.com/* | |
| // @version 1 | |
| // ==/UserScript== | |
| document.getElementById('logo-container').href="/feed/subscriptions/u"; |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Runtime.CompilerServices; | |
| namespace saltytest | |
| { | |
| class Program | |
| { |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| //Expected Output: | |
| // | |
| //Execute: (Status: null) | |
| //======= | |
| //Execute: (Status: not null) |
This file contains hidden or 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> | |
| new Handle:g_hConf; | |
| public OnPluginStart() | |
| { | |
| g_hConf = LoadGameConfigFile("addrtest"); | |
| RegConsoleCmd("addrtest_win", WinTest); | |
| RegConsoleCmd("addrtest_lin", LinTest); | |
| } |