Garry's Mod Wiki

debugoverlay.Cross

debugoverlay.Cross( Vector position, number size, number lifetime = 1, table color = Color( 255, 255, 255 ), boolean ignoreZ = false )

Description

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

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

Arguments

1 Vector position
Position origin
2 number size
Size of the cross
3 number lifetime = 1
Number of seconds the cross to appear
4 table color = Color( 255, 255, 255 )
The color of the cross. Uses the Color
5 boolean ignoreZ = false
If true, will draw on top of everything; ignoring the Z buffer

Page Links


Special Pages


Wikis

?

Render Time: 40ms

DB GetPage 2
Generate Html 15
SaveChanges (1) 8
Render Body 0
Render Sidebar 12