From Official DarkRP Wiki
|Hook name||canEditLaws(Player player, string action, table arguments)|
|Whether someone can edit laws.|
|Returns:||boolean canEdit, string message|
|BBCode Link:||[b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canEditLaws]canEditLaws hook[/url][/b]|
- player (Player)
- action (string)
- arguments (table)
The player trying to edit laws.
How the player is trying to edit laws.
Arguments related to editing laws.
- canEdit (boolean)
- message (string)
A yes or no as to whether the player can edit the law.
The message that is shown when they can't edit the law.