Raised This Month: $ Target: $400
 0% 

Is it posible to optimize?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
9evill
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 10-07-2009 , 02:30   Re: Is it posible to optimize?
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
If you set who is able to have no recoil and set it to norecoil_active[id] then you don't need to use get_user_flags(). If they are not allowed to use the command then don't set their norecoil_active[id].

PHP Code:
public client_PreThink(id)
{
    if(
norecoil_active[id] == 1)
    {
        
set_pev(id,pev_punchangleFloat:{0.00.00.0})
    }

What about caching the norecoil_active value, and check for changes on new round?
9evill 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 22:36.


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