-
Notifications
You must be signed in to change notification settings - Fork 36
HUD
thomas edited this page May 23, 2018
·
6 revisions
Shows a HUD in the center of the screen to display warden name, guard/prisoner count and eventday infos.
Commands
sm_hud - Allows player to toggle the hud display.
ConVars
// 0 - disabled, 1 - enable this MyJailbreak SourceMod plugin
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_hud_enable "1"
// Set your chat prefix for this plugin.
// -
// Default: "[{green}MyJB.HUD{default}]"
sm_hud_prefix "[{green}MyJB.HUD{default}]"
// 0 - show hud only to alive player, 1 - show hud to dead & alive player
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_hud_alive "1"
// 0 - show hud via a center-bottom hint box (sm_hsay), 1 - show hud via 'new hud' system
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_hud_type "1"
// x coordinate, from 0 to 1. -1.0 is the center of sm_hud_type '1'
// -
// Default: "-1"
// Minimum: "-1.000000"
// Maximum: "1.000000"
sm_hud_x "-1"
// y coordinate, from 0 to 1. -1.0 is the center of sm_hud_type '1'
// -
// Default: "0.1"
// Minimum: "-1.000000"
// Maximum: "1.000000"
sm_hud_y "0.1"
// Color of sm_hud_type '1' (set R, G and B values to 255 to disable) (Rgb): x - red value
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_hud_red "0"
// Color of sm_hud_type '1' (set R, G and B values to 255 to disable) (rGb): x - green value
// -
// Default: "200"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_hud_green "200"
// Color of sm_hud_type '1' (set R, G and B values to 255 to disable) (rgB): x - blue value
// -
// Default: "200"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_hud_blue "200"
// Alpha value of sm_hud_type '1' (set value to 255 to disable for transparency)
// -
// Default: "200"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_hud_alpha "200"
// Set your custom chat commands for toggle HUD(!hud (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "HUD"
sm_hud_cmds "HUD"
Files
/addons/sourcemod/plugins/MyJailbreak/hud.smx
/addons/sourcemod/scripting/MyJailbreak/hud.sp
/addons/sourcemod/translation/MyJailbreak.HUD.phrases.txt
coded with free software