You are currently viewing the GMLscripts.com static mirror. Forum access and script submissions are not available through this mirror.

Invert GMLscripts.com

draw_crosshair

draw_crosshair(x,y)
Draws a pair of horizontal and vertical lines, spanning the room and intersecting a given point.
COPY/// draw_crosshair(x,y)
//
//  Draws a pair of horizontal and vertical lines,
//  spanning the room and intersecting a given point.
//
//      x,y         position, real
//
/// GMLscripts.com/license
{
    draw_line(0,argument1,room_width,argument1);
    draw_line(argument0,0,argument0,room_height);
    return 0;
}

Contributors: Leif902

GitHub: View · Commits · Blame · Raw