Raised This Month: $ Target: $400
 0% 

Is it posible to optimize?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
9evill
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 10-06-2009 , 07:52   Is it posible to optimize?
Reply With Quote #1

Hello im trying to optimize some plugins of my server, iam not a scripter but i with your help i hope i will optimize some of the code.
So i instaledd amx profile and looking for plugins having a lot of calls.
One plugin uses big number of calls, here is the code:

public client_PreThink(id)
{
if(norecoil_active[id] == 1)
{
if(get_user_flags(id) & ADMIN_KICK)
{
set_pev(id,pev_punchangle, Float:{0.0, 0.0, 0.0})
}
}
}
How could i optimize this code? Thanks in advice.
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