Garry's Mod Wiki

debugoverlay.BoxAngles

  debugoverlay.BoxAngles( Vector pos, Vector mins, Vector maxs, Angle ang, number lifetime = 1, table color = Color( 255, 255, 255, 255 ) )

Description

Displays a solid colored rotated box at the specified position.

This function will silently fail if the developer ConVar is set to 0.
It is not networked to clients, except for the listen server host.
It will not work when the game is paused.

Arguments

1 Vector pos
World position
2 Vector mins
The mins of the box (lowest corner)
3 Vector maxs
The maxs of the box (highest corner)
4 Angle ang
The angle to draw the box at
5 number lifetime = 1
Amount of seconds to show the box
6 table color = Color( 255, 255, 255, 255 )
The color of the box. Uses the Color