DarkRP.onHitAccepted

From DarkRP
This page refers to DarkRP 2.4.3. This information may be incorrect as of later versions.
Check here for a up-to-date list of hooks.

Syntax[edit]

DescriptionWhen a hitman accepts a hit
Syntax
onHitAccepted(Player hitman, Player target, Player customer)
ReturnsNone.

Arguments

  • hitman (Player)
  • The hitman performing the hit

  • target (Player)
  • The target of the current hit

  • customer (Player)
  • The customer of the current hit