DarkRP.canRequestWarrant
Jump to navigation
Jump to search
target (Player)
actor (Player)
reason (Player)
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 search warrant. |
---|---|
Syntax |
canRequestWarrant(Player target, Player actor, Player reason)
|
Returns | "canRequest" (boolean): A yes or no as to whether the search warrant can be requested "message" (string): The message that is shown when it can't |
Arguments
The player to get the search warrant for
The player requesting the warrant
The reason for the search warrant