Bomb Timer Line 1.1 [UPDATED]

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Bomb Timer Line 1.1 [UPDATED]

Post by greenie »

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.

get plugin
get source
Post Reply

Return to “General Purpose”