Raised This Month: $ Target: $400
 0% 

Kill while flashbanged


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 01-25-2017 , 04:11   Re: Kill while flashbanged
Reply With Quote #2

You can calculate set_task time from duration and holdtime parameters.
Also you can check blind directly via private data, code from gamedll:
PHP Code:
float endTime pPlayer->m_blindFadeTime pPlayer->m_blindHoldTime pPlayer->m_blindStartTime;

if (
gpGlobals->time endTime)
{
  
// Player is blind, but he can be not fully blind 
I'm not sure, but I think that m_blindUntilTime should check full blind:
PHP Code:
if (gpGlobals->time pPlayer->m_blindUntilTime)
{
  
// Player is fully blind 
__________________

Last edited by PRoSToTeM@; 01-25-2017 at 04:26.
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
 



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 20:58.


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