AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Bomb Countdown HUD Timer (https://forums.alliedmods.net/showthread.php?t=51363)

SAMURAI16 02-16-2007 14:31

Bomb Countdown HUD Timer
 
4 Attachment(s)
Bomb Countdown HUD Timer v0.2


Plugin Details:


With this plugin enabled, you can see an colored Hud Message with the c4 time left, until explode.
Remeber : if until explode remains less than 8 seconds, hudmessage color will be red, if > 7 will be yellow and > 13 will be green.


Required Modules:
- CSX


Credits:
- Emp` for various indicates
- Alka for full tests

* Changelog:
0.1 -> 0.2: - Fixed Events problems
- Pcvars
- Fixed any bug on plugin

Also see screenshots :twisted:



Alka 02-16-2007 14:40

Re: Bomb CoutHUD Timer
 
Gj man! Thanks for this useful plugin! + Karma ;)

Xanimos 02-16-2007 14:47

Re: Bomb CoutHUD Timer
 
I suggest you use the following logevents to check for bomb actions. This will save you from needing the csx module and will be more accurate.
Code:
    register_logevent("LogEvent_BombPlanted" , 3 , "2=Planted_The_Bomb");     register_logevent("LogEvent_BombDefused" , 3 , "2=Defused_The_Bomb");     register_logevent("LogEvent_BombExplosion" , 6 , "3=Target_Bombed");

For your use you could register both defused and bombed to the same calling function. If you want the id of the player who planted,defused you can use VEN's get_loguser_id() function. The Target_Bombed doesn't give a player id with it, you need to use the planted one for that.

SAMURAI16 02-16-2007 14:52

Re: Bomb CoutHUD Timer
 
i updated
But : What you what to say about bomb_planted public . Now it's with logevent . And for what is required to get_loguser_id, for check what ? because i don't understand

Alka 02-16-2007 15:29

Re: Bomb CoutHUD Timer
 
now it's not working well! :| It's shows 2 timers one with -2 -3 -4 -4 and one with right time!

Xanimos 02-16-2007 16:02

Re: Bomb CoutHUD Timer
 
what the?

manchimocyrus 02-17-2007 01:13

Re: Bomb CoutHUD Timer
 
Thanks.

manchimocyrus 02-17-2007 01:29

Re: Bomb CoutHUD Timer
 
Now it's not working well.
It's shows 45.........1 and -1........-44

Morpheus759 02-17-2007 02:47

Re: Bomb CoutHUD Timer
 
Dont work

ConnorMcLeod 02-17-2007 03:57

Re: Bomb CoutHUD Timer
 
Have a look at amx2006.3 miscstats.sma if you have some problems, krotal already coded that ;)


All times are GMT -4. The time now is 22:29.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.