mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 11:13:21 +00:00
L4D2Tools: Fix missing hMPGamemode initalization
This commit is contained in:
parent
e18e59689b
commit
5c2bf73186
2 changed files with 1 additions and 0 deletions
Binary file not shown.
|
@ -31,6 +31,7 @@ public void OnPluginStart() {
|
|||
hLaserNotice = CreateConVar("sm_laser_use_notice", "1.0", "Enable notification of a laser box being used", FCVAR_NONE, true, 0.0, true, 1.0);
|
||||
hFinaleTimer = CreateConVar("sm_time_finale", "0.0", "Record the time it takes to complete finale. 0 -> OFF, 1 -> Gauntlets Only, 2 -> All finales", FCVAR_NONE, true, 0.0, true, 2.0);
|
||||
hFFNotice = CreateConVar("sm_ff_notice", "0.0", "Notify players if a FF occurs. 0 -> Disabled, 1 -> In chat, 2 -> In Hint text", FCVAR_NONE, true, 0.0, true, 2.0);
|
||||
hMPGamemode = FindConVar("mp_gamemode");
|
||||
|
||||
HookEvent("player_use", Event_PlayerUse);
|
||||
HookEvent("player_hurt", Event_PlayerHurt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue