DarkRP.canRequestHit
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]
Description | Whether someone can request a hit. |
---|---|
Syntax |
canRequestHit(Player hitman, Player customer, Player target, number price)
|
Returns | "canRequest" (boolean): A yes or no as to whether the hit can be requested "message" (string): The message that is shown when they can't request the hit |
Arguments
The hitman performing the hit
The customer for the current hit
The target of the current hit
The agreed upon price