Registers the /SalesmanAdd superadmin command, which opens the salesman editor to create a salesman where the
player is looking, with an optional animation.
Summary
Methods
OnRun(player, arguments)shared
Opens the salesman editor for a new salesman at the point the player is looking at.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/catwork/plugins/salesmen/plugin/commands/sh_salesmanadd.lua:14Opens the salesman editor for a new salesman at the point the player is looking at.
The optional argument is the animation sequence, as a number or the name of a global constant.
Parameters
- player
- arguments