mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-07 06:13:21 +00:00
L4D2Tools: Refactor / Move extra player code to another plugin
This commit is contained in:
parent
f664185721
commit
7f243bb4b3
4 changed files with 41 additions and 133 deletions
|
@ -61,7 +61,7 @@ public void OnPluginStart()
|
|||
}
|
||||
|
||||
hValidDifficulties = CreateConVar("l4d2_autocrown_allowed_difficulty", "7", "The difficulties the plugin is active on. 1=Easy, 2=Normal 4=Advanced 8=Expert. Add numbers together.", FCVAR_NONE);
|
||||
hAllowedGamemodes = CreateConVar("l4d2_autocrown_modes_tog", "7", "Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.", FCVAR_NONE);
|
||||
hAllowedGamemodes = CreateConVar("l4d2_autocrown_modes_tog", "1", "Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.", FCVAR_NONE);
|
||||
|
||||
char diff[16];
|
||||
FindConVar("z_difficulty").GetString(diff, sizeof(diff));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue