View Single Post
Plugin Info:     Modification:          Category:          Approver:   Emp` (115)
shine771
Senior Member
Join Date: Jun 2007
Old 06-24-2008 , 15:55   Bomb Timer Line 1.1 [UPDATED]
Reply With Quote #1

Bomb Timer Line
1.1

Description: When you plant c4. It shows a line(>|) thats moving towards another Line(|<<< C4). The distance between those 2 lines depends on a cvar - mp_c4timer. When both lines collide. C4 Explodes.

Cvars:
btl_only_for_ts (1/0) (1 - Only Terrorists will see the Timer Line, 0 - everyone including CT's will see the Timer Line)

I recommend: Do not set mp_c4timer below 0 and above 50. Just an recommendation.

Changes:
v0.7
*Initial Release
v0.8
*Optimized Code(Use switch instead of if/else,shortened the code a little bit, using cvar pointer instead of get_cvar_num)
v0.9
*Optimized Code a little
*Fixed the glitch when someone joins a server he can't see the moving line.
v1.0
*Recoded the plugin. Fixed Many glitches..
*Now when the bomb explodes, it changes the C4 text to [DEFUSED]/[BOMB] depending which team won.
v1.1
*Fixed the glitch > if bomb doesn't explode but the round ends.. and server has freeze time it still shows the line until freezetime ends.


Screenshots:
[IMG]http://img137.**************/img137/9472/screenshotbtlmw7.th.jpg[/IMG]



Attached Files
File Type: sma Get Plugin or Get Source (bomb_timer_line.sma - 10128 views - 3.3 KB)

Last edited by shine771; 07-22-2008 at 13:41.
shine771 is offline