Registers the /AreaAdd command, which defines a named area and its display in steps, using the point the player is
looking at for each corner and for the text.
Summary
Methods
OnRun(player, arguments)shared
Adds an area in steps, using the point the player is looking at each time.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/catwork/plugins/areadisplays/plugin/commands/sh_areaadd.lua:24Adds an area in steps, using the point the player is looking at each time.
The first run with a name sets the box's minimum corner, the second its maximum, and for 3D
displays a third run places the text. The area is then saved and sent to every client. Optional
arguments are the 3D text scale, whether the area expires after being shown once, and the display
class (Scrolling, 3D or Cinematic).
Parameters
- player
- arguments