Raised This Month: $32 Target: $400
 8% 

Remaining CT = slay


Post New Thread Reply   
 
Thread Tools Display Modes
Stefanos
Senior Member
Join Date: May 2020
Old 05-23-2020 , 16:10   Re: Remaining CT = slay
Reply With Quote #21

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 is offline
Stefanos
Senior Member
Join Date: May 2020
Old 05-23-2020 , 16:13   Re: Remaining CT = slay
Reply With Quote #22

slay works but not for people that have immunity, fix that
Stefanos is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-23-2020 , 16:15   Re: Remaining CT = slay
Reply With Quote #23

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 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-23-2020 , 16:27   Re: Remaining CT = slay
Reply With Quote #24

Above code updated to not obey immunity
__________________
Bugsy is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-23-2020 , 16:39   Re: Remaining CT = slay
Reply With Quote #25

Fixed the HUD to show the seconds correctly.
__________________
Bugsy is offline
Stefanos
Senior Member
Join Date: May 2020
Old 05-23-2020 , 17:16   Re: Remaining CT = slay
Reply With Quote #26

Hud still blinking, and pls do if round ends hud will dissapear, it stays after round if player die before slay
Stefanos is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-23-2020 , 17:23   Re: Remaining CT = slay
Reply With Quote #27

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.
__________________
Bugsy is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-23-2020 , 17:58   Re: Remaining CT = slay
Reply With Quote #28

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);
__________________
DJEarthQuake is offline
Stefanos
Senior Member
Join Date: May 2020
Old 05-23-2020 , 17:58   Re: Remaining CT = slay
Reply With Quote #29

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...
Stefanos is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-23-2020 , 17:59   Re: Remaining CT = slay
Reply With Quote #30

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 );
__________________
Bugsy is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:30.


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