Raised This Month: $ Target: $400
 0% 

Catching flash


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 01-12-2013 , 06:45   Catching flash
Reply With Quote #1

I would like to catch and block the flash. I have found a way to hook ScreenFade, but I think this one from ham is much more reliable, though I couldn't get it to work or I am doing something wrong. Tried to hook it as post and as pre:

PHP Code:
RegisterHam(Ham_CS_Player_Blind"player""Player_Blind"0)

public 
Player_Blind(id)
{
    if(
is_user_alive(id))
    {
        
client_print(idprint_chat"Flashed")
        return 
HAM_SUPERCEDE
    
}
    return 
HAM_IGNORED

__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
 


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 13:43.


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