From DarkRP
Jump to navigation Jump to search
Hook name onHitFailed(Player hitman, Player target, string reason)
When a hit fails for some reason.
Returns: nil
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/onHitFailed]onHitFailed hook[/url][/b]


  1. hitman (Player)
  2. The hitman performing the hit.

  3. target (Player)
  4. The target of the current hit.

  5. reason (string)
  6. why the hit failed.

Return values[edit]

This hook does not accept return values. You can still return a value to override the default implementation of this hook.