Native referenceRedMclient

DRAW_LINE_2D

0xB856A90 CFX
FUNCTION SIGNATURE
void DRAW_LINE_2D(float x1, float y1, float x2, float y2, float width, int r, int g, int b, int a);
Property Value
Native Name DRAW_LINE_2D
Hash 0xB856A90
Return Type void
API Set client
Parameters x1 (float), y1 (float), x2 (float), y2 (float), width (float), r (int), g (int), b (int), a (int)

Description: Like DRAW_RECT, but it's a line.

Parameters

  • x1 (float) — First x.
  • y1 (float) — First y.
  • x2 (float) — Second x.
  • y2 (float) — Second y.
  • width (float) — Width of line.
  • r (int) — Red.
  • g (int) — Green.
  • b (int) — Blue.
  • a (int) — Alpha.
Back to CFX