Hooks/Shared/canRequestWarrant
Hook | |
Hook name | canRequestWarrant(Player target, Player actor, Player reason) |
Description: | |
Whether someone can request a search warrant. | |
Returns: | boolean canRequest, string message |
Realm: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/canRequestWarrant]canRequestWarrant hook[/url][/b] |
Parameters[edit]
- target (Player)
- actor (Player)
- reason (Player)
The player to get the search warrant for
The player requesting the warrant
The reason for the search warrant