DarkRP.Player.requestHit

From Official DarkRP Wiki
Jump to navigation Jump to search
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

DescriptionRequest a hit to a hitman.
Syntax
requestHit(Player customer, Player target, number price)
Returns"succeeded" (boolean): Whether the hit request could be made.

Arguments

  • customer (Player)
  • The customer who paid for the hit.

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

  • price (number)
  • The price of the hit.