Skip to content

Commit

Permalink
Implement dod round start
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexer10 committed Jul 19, 2018
1 parent 227eb07 commit 55a6008
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions addons/sourcemod/scripting/hexprops.sp
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ public void OnPluginStart()
RegAdminCmd("sm_props", Cmd_Props, ADMFLAG_GENERIC);


if (!HookEvent("round_poststart", Event_RoundStart))
HookEvent("round_start", Event_RoundStart);

if (!HookEventEx("round_poststart", Event_RoundStart))
if (!HookEventEx("round_start", Event_RoundStart))
if (!HookEventEx("dod_round_start", Event_RoundStart))
SetFailState("Unable to hook any round start event!");
}

public void OnMapStart()
Expand Down

0 comments on commit 55a6008

Please sign in to comment.