Hooks/Server/canEditLaws
Jump to navigation
Jump to search
Hook | |
Hook name | canEditLaws(Player player, string action, table arguments) |
Description: | |
Whether someone can edit laws. | |
Returns: | boolean canEdit, string message |
Realm: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canEditLaws]canEditLaws hook[/url][/b] |
Parameters[edit]
- 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.