Skip to content
thomas edited this page May 23, 2018 · 3 revisions

Shows a icon above the players head for guard, prisoner, warden, deputy, cuffed, rebel, freeday

Commands

sm_icons - Allows player to toggle the player icons

ConVars

// 0 - use the icons, 1 - disable icons on EventDays
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_icons_eventday "1"

// 0 - disabled, 1 - enable the icon above the wardens head
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_icons_warden_enable "1"

// Path to the warden icon DONT TYPE .vmt or .vft
// -
// Default: "decals/MyJailbreak/warden"
sm_icons_warden_path "decals/MyJailbreak/warden"

// 0 - disabled, 1 - enable the icon above the deputy head
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_icons_deputy_enable "1"

// Path to the deputy icon DONT TYPE .vmt or .vft
// -
// Default: "decals/MyJailbreak/warden-2"
sm_icons_deputy_path "decals/MyJailbreak/warden-2"

// 0 - disabled, 1 - enable the icon above the guards head
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_icons_ct_enable "1"

// Path to the guard icon DONT TYPE .vmt or .vft
// -
// Default: "decals/MyJailbreak/ct"
sm_icons_ct_path "decals/MyJailbreak/ct"

// 0 - disabled, 1 - enable the icon above the prisoners head
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_icons_t_enable "1"

// Path to the prisoner icon DONT TYPE .vmt or .vft
// -
// Default: "decals/MyJailbreak/terror-fix"
sm_icons_t_path "decals/MyJailbreak/terror-fix"

// 0 - disabled, 1 - enable the icon above the rebel prisoners head
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_icons_rebel_enable "1"

// Path to the rebel prisoner icon DONT TYPE .vmt or .vft
// -
// Default: "decals/MyJailbreak/rebel"
sm_icons_rebel_path "decals/MyJailbreak/rebel"

// 0 - disabled, 1 - enable the icon above the cuffed prisoners head
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_icons_cuffs_enable "1"

// Path to the cuffed prisoner icon DONT TYPE .vmt or .vft
// -
// Default: "decals/MyJailbreak/cuffed"
sm_icons_cuffs_path "decals/MyJailbreak/cuffed"

// 0 - disabled, 1 - enable the icon above the prisoners with freeday head
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_icons_freeday_enable "1"

// Path to the freeday icon DONT TYPE .vmt or .vft
// -
// Default: "decals/MyJailbreak/freeday"
sm_icons_freeday "decals/MyJailbreak/freeday"

// Set your custom chat commands for toggle Icons(!icons (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "icon"
sm_icons_cmds "icon"

// Set your chat prefix for this plugin.
// -
// Default: "[{green}MyJB.Icons{default}]"
sm_icons_prefix "[{green}MyJB.Icons{default}]"

Files

/addons/sourcemod/plugins/MyJailbreak/icons.smx
/addons/sourcemod/scripting/MyJailbreak/icons.sp
/addons/sourcemod/scripting/MyJailbreak/include/myicons.inc

Clone this wiki locally