hud - shanapu/MyStore GitHub Wiki

HUD misc module

The HUD (Head-up-Display) shows the current credit account balance of a player

Picture

Console Variables (.csgo/cfg/sourcemod/mystore/settings.cfg)

// 0 - show hud only to alive player, 1 - show hud to dead & alive player
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mystore_hud_alive "1"

// x coordinate, from 0 to 1. -1.0 is the center
// -
// Default: "0.05"
// Minimum: "-1.000000"
// Maximum: "1.000000"
mystore_hud_x "0.05"

// y coordinate, from 0 to 1. -1.0 is the center
// -
// Default: "0.65"
// Minimum: "-1.000000"
// Maximum: "1.000000"
mystore_hud_y "0.65"

// Color of sm_hud_type '1' (set R, G and B values to 255 to disable) (Rgb): x - red value
// -
// Default: "200"
// Minimum: "0.000000"
// Maximum: "255.000000"
mystore_hud_red "200"

// 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"
mystore_hud_green "200"

// Color of sm_hud_type '1' (set R, G and B values to 255 to disable) (rgB): x - blue value
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
mystore_hud_blue "0"

// Alpha value of sm_hud_type '1' (set value to 255 to disable for transparency)
// -
// Default: "200"
// Minimum: "0.000000"
// Maximum: "255.000000"
mystore_hud_alpha "200"