DoorUnsetAccess command
Command defined in plugin/commands/sh_doorunsetaccess.lua
Part of Personal Doors
Registers the operator command /DoorUnsetAccess of the Personal Doors plugin, which removes the target character's
personal access to the door the player is looking at, or everyone's when no name is given.
Summary
Methods
OnRun(player, arguments)shared
Removes personal access to the door the player is looking at and saves the change.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/cwhl2rp/plugins/personaldoors/plugin/commands/sh_doorunsetaccess.lua:25Removes personal access to the door the player is looking at and saves the change.
With a name, only that character loses access: the name is either the full name of one of the door's owners, who may be offline, or part of the name of a player who is online. Without a name every owner is removed.
Parameters
- player
- arguments