Registers the operator command /DoorSetAccess of the Personal Doors plugin, which gives the target character
personal access to the door the player is looking at, makes the door unownable and optionally sets whether it starts
locked.
Summary
Methods
OnRun(player, arguments)shared
Gives the target character personal access to the door the player is looking at.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/cwhl2rp/plugins/personaldoors/plugin/commands/sh_doorsetaccess.lua:27Gives the target character personal access to the door the player is looking at.
The door becomes unownable and is saved; the optional second argument sets whether it starts locked, and leaving it out keeps the door's current setting.
Parameters
- player
- arguments