Raised This Month: $51 Target: $400
 12% 

Flash the player screen


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
deadbull
Junior Member
Join Date: Nov 2011
Old 12-04-2011 , 19:22   Flash the player screen
Reply With Quote #1

Hi, I look for flash the screen of the player, somebody would know how to make it? Because I do not find :s

Thank you
deadbull is offline
icequeenzz
Member
Join Date: May 2008
Old 12-05-2011 , 08:38   Re: Flash the player screen
Reply With Quote #2

Maybe this will help:

PHP Code:
PerformFade(clientduration, const color[4]) 
{
    new 
Handle:hFadeClient=StartMessageOne("Fade"client);
    
BfWriteShort(hFadeClientduration);
    
BfWriteShort(hFadeClient2);
    
BfWriteShort(hFadeClient, (FFADE_PURGE|FFADE_IN));
    
BfWriteByte(hFadeClientcolor[0]);
    
BfWriteByte(hFadeClientcolor[1]);
    
BfWriteByte(hFadeClientcolor[2]);
    
BfWriteByte(hFadeClientcolor[3]);
    
EndMessage();

__________________

icequeenzz is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-05-2011 , 09:43   Re: Flash the player screen
Reply With Quote #3

Do colored flash what @icequeenzz

Or using regular white flashbang flash
PHP Code:
        SetEntPropFloat(clientProp_Send"m_flFlashDuration"GetRandomFloat(6.020.0)); // Flash not work if you use twice or more exactly same value, change value little +/- 0.01 
- Cs:s
- Cs:s have bug, if player get flashed twice and if duration exactly same value, it not increase flash time to player. Not even make new flash !
__________________
Do not Private Message @me

Last edited by Bacardi; 12-05-2011 at 09:46.
Bacardi is offline
deadbull
Junior Member
Join Date: Nov 2011
Old 12-05-2011 , 15:15   Re: Flash the player screen
Reply With Quote #4

OK thanks
deadbull 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 21:04.


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