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.