Raised This Month: $ Target: $400
 0% 

Catching flash


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
bibu
Veteran Member
Join Date: Sep 2010
Old 01-12-2013 , 09:19   Re: Catching flash
Reply With Quote #9

I just want to block the flash effect for individual players.
Searched again for ScreenFade. (http://forums.alliedmods.net/showpos...19&postcount=2)

PHP Code:
register_event("ScreenFade""EventFlashbang""b""4=255""5=255""6=255""7=200""7=255")

public 
EventFlashbang(id)
{
    
client_print(0print_chat"event flash")
    if(
is_user_alive(id))
    {
        
client_print(idprint_chat"block flash")
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_CONTINUE

Both messages get called, but the flash is still there...
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
 



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