Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions addons/sourcemod/scripting/l4d2_antibaiter.sp
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ int
public Plugin myinfo =
{
name = "L4D2 Antibaiter",
author = "Visor, Sir (assisted by Devilesk), A1m`",
author = "Visor, Sir (assisted by Devilesk), A1m`, Ferks-FK",
description = "Makes you think twice before attempting to bait that shit",
version = "1.3.6",
version = "1.4.0",
url = "https://github.com/SirPlease/L4D2-Competitive-Rework"
};

Expand All @@ -82,7 +82,7 @@ public void OnPluginStart()
hCvarStopTimerOnBile = CreateConVar("l4d2_antibaiter_bile_stop", "0", "Stop timer when a player is biled?");

HookEvent("round_start", Event_RoundStart, EventHookMode_PostNoCopy);
HookEvent("player_now_it", Event_PlayerBiled, EventHookMode_PostNoCopy);
HookEvent("player_now_it", Event_PlayerBiled, EventHookMode_Post);
HookEvent("round_end", Event_RoundEnd, EventHookMode_PostNoCopy);
HookEvent("player_left_start_area", Event_RoundGoesLive, EventHookMode_PostNoCopy);

Expand Down