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

Invert gmlscripts.pro

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.pro/license
{
    draw_line(0,argument1,room_width,argument1);
    draw_line(argument0,0,argument0,room_height);
    return 0;
}

Contributors: Leif902

GitHub: View · Commits · Blame · Raw