Skip to content

Commit 8357b9e

Browse files
committed
add hook to interact with the autowarner
1 parent 1afe061 commit 8357b9e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lua/autorun/server/cfc_auto_warn_on_commands.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ function AW.warn( commandName, caller, target, reason )
117117
elseif awarn_warnplayerid then
118118
awarn_warnplayerid( caller, target, reason )
119119
end
120+
121+
hook.Run( "CFC_UlxCommands_AutoWarner", caller, target, reason )
120122
end
121123

122124
function AW.getTargets( indices, args )

0 commit comments

Comments
 (0)