debugoverlay.Cross

From Garry's Mod
Jump to: navigation, search
 debugoverlay.Cross( )

Contents

Description

Creates a coloured cross at the specified position for the specified time.

NOTE

This function will silently fail if the developer ConVar is set to 0.

Arguments

Vector position

Position origin

Arguments

number size

Size of the cross

Arguments

number lifetime=1

Number of seconds the cross to appear

Arguments

table color=Color( 255, 255, 255 )

The color of the cross. Uses the Color structure

Arguments

boolean ignoreZ=false

If true, will draw on top of everything; ignoring the Z buffer
Personal tools
Navigation