From DarkRP
Jump to navigation Jump to search
Function name Player:requestHit(Player customer, Player target, number price)
Request a hit to a hitman.
Returns: boolean succeeded
Part of Library: Player
Realm: NewerServer.png
BBCode Link: [b][url=]Player:requestHit[/url][/b]

Function parameters[edit]

  1. customer (Player)
  2. The customer who paid for the hit.

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

  5. price (number)
  6. The price of the hit.

Function return values[edit]

  1. succeeded (boolean)
  2. Whether the hit request could be made.