Raised This Month: $ Target: $400
 0% 

Is it posible to optimize?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-06-2009 , 18:58   Re: Is it posible to optimize?
Reply With Quote #4

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})
    }

__________________
fysiks 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