Admin ESP shows staff where the other players are while they are noclipping.
For every other player it draws their name and Steam name, an outline box and health and
armor bars, visible through walls. It is only drawn for players with the 'admin_esp'
permission, which the plugin registers, and its colors come from the esp_red, esp_blue
and esp_grey colors of the theme.
Summary
Hooks
Hooks
Draws the admin ESP for every other player: names, an outline box, health and armor bars. Only drawn while the local player is noclipping and has the 'admin_esp' permission.
Implements hook OnThemeLoaded
Refreshes the ESP colors from the theme that has just been loaded.
Parameters
- current_theme ThemeBase the loaded theme
Implements hook RegisterPermissions
Registers the 'admin_esp' permission. The plugin only exists on the client, which is also the only place where the permission is checked.