CityRP Documentation Repository

core.plugins.voice_distance.derma_functions

Clientside functions to help make derma.

Functions

BlurMenu(panel, layers, density, alpha, w, h)Source ☍

Parameters

  • panelany
  • layersany
  • densityany
  • alphaany
  • wany
  • hany
BlurScreen(alpha)Source ☍

Parameters

  • alphaany
DrawCircle(x, y, radius)Source ☍

Anything past here is mandatory to be used on a 2D area, not a panel. If you need to use it for derma, create it with the GM:HUDPaint() hook.

Parameters

  • xany
  • yany
  • radiusany
DrawLine(sx, sy, fx, fy)Source ☍

Parameters

  • sxany
  • syany
  • fxany
  • fyany
DrawOutlinedRect(x, y, w, h, t, c)Source ☍

Parameters

  • xany
  • yany
  • wany
  • hany
  • tany
  • cany
DrawRect(x, y, w, h, c)Source ☍

Parameters

  • xany
  • yany
  • wany
  • hany
  • cany
DrawRotatedRect(x, y, w, h, r)Source ☍

Parameters

  • xany
  • yany
  • wany
  • hany
  • rany
DrawText(text, font, x, y, c, align)Source ☍

Parameters

  • textany
  • fontany
  • xany
  • yany
  • cany
  • alignany