Registers the /SalesmanEdit superadmin command, which opens the editor with the settings of the salesman the
player is looking at, so that closing the editor replaces it in place.
Summary
Methods
OnRun(player, arguments)shared
Opens the editor with the settings of the salesman the player is looking at.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/catwork/plugins/salesmen/plugin/commands/sh_salesmanedit.lua:14Opens the editor with the settings of the salesman the player is looking at.
The salesman stays on the map until the editor is closed and its SalesmanAdd message replaces it.
Parameters
- player
- arguments