图 1.
到CSO-NST\cstrike\resource\UI 里找NSTWpn_Rifles_3_CT.res
把这段话用上去就好了((用在下面
// ---------------------- weapon 12 ----------------------
"1-weapon12-img"
{
"ControlName" "ImagePanel"
"fieldName" "1-weapon12-img"
"xpos" "474"
"ypos" "231"
"wide" "138"
"tall" "48"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
// 1-weapon12-img
"image" "gfx/vgui/m60"
"scaleImage" "1"
}
"1-weapon12-team"
{
"ControlName" "ImagePanel"
"fieldName" "1-weapon12-team"
"xpos" "584"
"ypos" "272"
"wide" "26"
"tall" "7"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"textAlignment" "center"
// 1-weapon12-team
"image" "resource/icon/team0"
"scaleImage" "1"
}
"1-weapon12-name"
{
"ControlName" "Label"
"fieldName" "1-weapon12-name"
"xpos" "474"
"ypos" "279"
"wide" "138"
"tall" "15"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
// 1-weapon12-name
"labelText" "M60 - 4600$"
"textAlignment" "center"
"dulltext" "1"
"brighttext" "0"
}
"1-weapon12-bottom"
{
"ControlName" "Button"
"fieldName" "1-weapon12-bottom"
"xpos" "474"
"ypos" "231"
"wide" "138"
"tall" "63"
"autoResize" "0"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" ""
// 1-weapon12-bottom
"command" "nst_buy_wpn m60"
}