Functions/Player/Server/requestHit
Jump to navigation
Jump to search
Function | |
Function name | Player:requestHit(Player customer, Player target, number price) |
Description: | |
Request a hit to a hitman. | |
Returns: | boolean succeeded |
Part of Library: | Player |
Realm: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Server/requestHit]Player:requestHit[/url][/b] |
Function parameters[edit]
- customer (Player)
- target (Player)
- price (number)
The customer who paid for the hit.
The target of the hit.
The price of the hit.
Function return values[edit]
- succeeded (boolean)
Whether the hit request could be made.