CityRP Documentation Repository

core.plugins.bodybags.entities.cityrp_bodybag.cl_init

Functions

ClientENT:DrawTargetHUD(x, y, alpha, activeWeaponClass)Source ☍

Draws the target ID panel, with a pickup hint that depends on the held weapon.

Parameters

  • xnumberLeft edge to draw from.
  • ynumberTop edge to draw from.
  • alphanumberFade alpha of the panel.
  • activeWeaponClassstringClass of the looking player's active weapon.