Hooks/Shared/onHitAccepted

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

Parameters[edit]

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

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

  5. customer (Player)
  6. The customer of the current hit.

Return values[edit]

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