Raised This Month: $ Target: $400
 0% 

fm_set_user_frozen()


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
naven
Veteran Member
Join Date: Jun 2008
Location: Poland, Cieszyn
Old 03-15-2013 , 06:12   fm_set_user_frozen()
Reply With Quote #1

Hello, I am using this stock:
Code:
stock fm_set_user_frozen(client, frozen)
{
    if( !is_user_alive(client) ) return 0;
    
    new flags = pev(client, pev_flags);
    if( frozen && !(flags & FL_FROZEN) )
    {
        set_pev(client, pev_flags, (flags | FL_FROZEN));
    }
    else if( !frozen && (flags & FL_FROZEN) )
    {
        set_pev(client, pev_flags, (flags & ~FL_FROZEN));
    }
    
    return 1;
}
After a headshot on frozen player their screen moves like an usual headshot, however it stays like that until player is unfrozen again. How do I get rid of that?
__________________
naven.com.pl
"At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.
naven 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 21:42.


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