mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-05 22:43:21 +00:00
Add filename to AutoExecConfig
This commit is contained in:
parent
a5fa49b43a
commit
e174379cf4
4 changed files with 2 additions and 2 deletions
Binary file not shown.
Binary file not shown.
|
@ -69,7 +69,7 @@ public void OnPluginStart()
|
||||||
|
|
||||||
FindConVar("mp_gamemode").AddChangeHook(Change_Gamemode);
|
FindConVar("mp_gamemode").AddChangeHook(Change_Gamemode);
|
||||||
|
|
||||||
AutoExecConfig(true);
|
AutoExecConfig(true, "l4d2_autobotcrown");
|
||||||
|
|
||||||
HookEvent("witch_spawn", Event_WitchSpawn);
|
HookEvent("witch_spawn", Event_WitchSpawn);
|
||||||
HookEvent("witch_killed", Event_WitchKilled);
|
HookEvent("witch_killed", Event_WitchKilled);
|
||||||
|
|
|
@ -47,7 +47,7 @@ public void OnPluginStart()
|
||||||
|
|
||||||
hExtraItemBasePercentage = CreateConVar("l4d2_extraitem_chance", "0.056", "The base chance (multiplied by player count) of an extra item being spawned.", FCVAR_NONE, true, 0.0, true, 1.0);
|
hExtraItemBasePercentage = CreateConVar("l4d2_extraitem_chance", "0.056", "The base chance (multiplied by player count) of an extra item being spawned.", FCVAR_NONE, true, 0.0, true, 1.0);
|
||||||
|
|
||||||
AutoExecConfig(true);
|
AutoExecConfig(true, "l4d2_extraplayeritems");
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////////////////////////////
|
/////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue