AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Remaining CT = slay (https://forums.alliedmods.net/showthread.php?t=324653)

Stefanos 05-23-2020 16:10

Re: Remaining CT = slay
 
Tested again, hud was shown, did not get slayed, can you set hud to be little more light blue, and its blinking, can it be set to stay with effect 1 i guess?, and can you add that all players see that message

Stefanos 05-23-2020 16:13

Re: Remaining CT = slay
 
slay works but not for people that have immunity, fix that

Bugsy 05-23-2020 16:15

Re: Remaining CT = slay
 
The problem with the slay not happening is likely due to the player having immunity.

"Client "bugsy" has immunity"

Code updated to lighten the blue color, show player name in HUD and show to everyone.

Bugsy 05-23-2020 16:27

Re: Remaining CT = slay
 
Above code updated to not obey immunity

Bugsy 05-23-2020 16:39

Re: Remaining CT = slay
 
Fixed the HUD to show the seconds correctly.

Stefanos 05-23-2020 17:16

Re: Remaining CT = slay
 
Hud still blinking, and pls do if round ends hud will dissapear, it stays after round if player die before slay :)

Bugsy 05-23-2020 17:23

Re: Remaining CT = slay
 
Above code updated to handle round end. I made a slight tweak for the blinking, but it's hard to get it perfect since you are showing a HUD with a given duration every X seconds.

DJEarthQuake 05-23-2020 17:58

Re: Remaining CT = slay
 
This should take care of those with immunity if user_kill won't do it.
Code:
///user_kill( id ); fakedamage(id,"Last man standing. Oblivious to objective.",100.0,DMG_TIMEBASED);

Stefanos 05-23-2020 17:58

Re: Remaining CT = slay
 
works perfect, just hud now everyseconds dissapear and comes again, im sure there is a fix for that im using 3 plugins like countdown on hud and no problem...

Bugsy 05-23-2020 17:59

Re: Remaining CT = slay
 
You can try tweaking this, increment 0.1 at a time. This is the duration that the HUD displays each time.

set_hudmessage( 0 , 170 , 255 , -1.0 , 0.40 , 0 , 0.0 , 1.0 , 0.0 , 0.0 , -1 );


All times are GMT -4. The time now is 11:34.

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