|
本帖最后由 bluesky404 于 2011-8-21 21:31 编辑
安装HUD Status Bar后在ini里面添加; ==== Safe container check
; Display Safe in green, or Unsafe in red above the container you're looking at.
set tnoHSB.hud_color to sv_Construct "IsContainer+4*tnoHSB.val"
set tnoHSB.hud_ref to sv_Construct "GetCrosshairRef"
set tnoHSB.hud_val to sv_Construct "GetContainerRespawns"
set tnoHSB.hud_type to HUDtxtNoBar ; Hide bar, only display text
set tnoHSB.hud_textDisplay to HUDtxtNoValue ; Don't display value (0 or 1)
set tnoHSB.hud_name to sv_Construct "#UnsafeSafe[6*tnoHSB.val:6]" ; Display 6 first chars (Unsafe) if val is 0, the remaining chars if 1
; If you only want to see the safe/unsafe text when a specific key (ex: left shift - 42) is held down, change hud_color to:
set tnoHSB.hud_color to sv_Construct "(IsContainer+4*tnoHSB.val)*IsKeyPressed3 42"
可以显示container是safe/unsafe |
|