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

[Request] Revive full flashed cts that died


Post New Thread Reply   
 
Thread Tools Display Modes
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 07-18-2018 , 14:02   Re: [Request] Revive full flashed cts that died
Reply With Quote #21

Quote:
Originally Posted by sekac View Post
Why revive the CTs instead of making CTs immune to flashbangs?
Because he does not want the totally blind CTs to die, only partially.
iceeedr is offline
Send a message via Skype™ to iceeedr
sekac
Senior Member
Join Date: Nov 2016
Old 07-18-2018 , 15:11   Re: [Request] Revive full flashed cts that died
Reply With Quote #22

Well, you can just reduce the flashed effect for CTs.
sekac is offline
Snake.
Senior Member
Join Date: Jul 2017
Old 07-18-2018 , 15:16   Re: [Request] Revive full flashed cts that died
Reply With Quote #23

Quote:
Originally Posted by iceeedr View Post
Try this bro.

Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> #include <fakemeta> #include <hamsandwich> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" new bool:bFlashed[33] public plugin_init()  {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_message(get_user_msgid( "ScreenFade" ), "MessageScreenFade") } public MessageScreenFade(iMsgId, iDest, id) {     if(get_msg_arg_int( 4 ) == 255 && get_msg_arg_int( 5 ) == 255 && get_msg_arg_int( 6 ) == 255)     {         new iAlpha = get_msg_arg_int( 7 );         if( iAlpha == 200 || iAlpha == 255 && cs_get_user_team(id) == CS_TEAM_CT)         {             new spec = pev(id, pev_iuser2);             if(spec)                 return                         bFlashed[id] = true             set_task(2.0, "Respawn", id)         }     } } public Respawn(id) {     if(!is_user_connected(id) || is_user_alive(id))         return         ExecuteHamB(Ham_CS_RoundRespawn, id)     bFlashed[id] = false } public client_putinserver(id) {     bFlashed[id] = false } public client_disconnect(id) {     bFlashed[id] = false }
It works for now bro. Thank you..
Snake. is offline
Send a message via Skype™ to Snake.
Snake.
Senior Member
Join Date: Jul 2017
Old 07-18-2018 , 15:17   Re: [Request] Revive full flashed cts that died
Reply With Quote #24

Quote:
Originally Posted by sekac View Post
Well, you can just reduce the flashed effect for CTs.
Because Terorists have flashbangs to escape from cts but air flash is not allowed as a game rule.
Snake. is offline
Send a message via Skype™ to Snake.
sekac
Senior Member
Join Date: Nov 2016
Old 07-19-2018 , 13:14   Re: [Request] Revive full flashed cts that died
Reply With Quote #25

Oh... Well just give them no fall damage when they are fully flashed until they reach the ground.
sekac is offline
sekac
Senior Member
Join Date: Nov 2016
Old 07-25-2018 , 10:55   Re: [Request] Revive full flashed cts that died
Reply With Quote #26

I came across this today, see if it helps. https://www.amxx-bg.info/viewtopic.php?f=32&t=1591
sekac is offline
Reply



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 02:40.


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