Bomb Timer Line v1.1
Description
When you plant the C4, this plugin displays a moving line (>|) toward another line (|<<< C4). The distance between these two lines is determined by a cvar - mp_c4timer
. When both lines collide, the C4 explodes!
Cvars:
btl_only_for_ts
(1/0)- 1 - Only Terrorists will see the Timer Line
- 0 - Everyone, including CTs, will see the Timer Line
Recommendation: Do not set mp_c4timer
below 0 or above 50. This is just a recommendation!
Changes:
-
v0.7
- Initial Release
-
v0.8
- Optimized code (Switched to using
switch
instead ofif/else
, shortened code, used cvar pointer instead ofget_cvar_num
)
- Optimized code (Switched to using
-
v0.9
- Optimized code a little more
- Fixed a glitch where new players joining the server couldnβt see the moving line
-
v1.0
- Recoded the plugin, fixing numerous glitches
- Now when the bomb explodes, the C4 text changes to [DEFUSED]/[BOMB] depending on which team won
-
v1.1
- Fixed a glitch where if the bomb doesnβt explode but the round ends (and the server has a freeze time), the line still shows until freeze time ends.