Quote:
Originally Posted by Silvers
2. Not using "m_flLaggedMovementValue" and having stuttered movement, but no sped up jump etc.
|
About the stuttered movement
Since it looks drugged on player but how about just apply this plugin only on survivors
bots?
HTML Code:
public Action L4D_OnGetRunTopSpeed(int client, float &retVal)
{
if( g_fSpeedRun[client] && IsFakeClient(client) && GetClientTeam(client) == 2)
{
retVal = g_fSpeedRun[client];
return Plugin_Handled;
}
return Plugin_Continue;
}
public Action L4D_OnGetWalkTopSpeed(int client, float &retVal)
{
if( g_fSpeedWalk[client] && IsFakeClient(client) && GetClientTeam(client) == 2)
{
retVal = g_fSpeedWalk[client];
return Plugin_Handled;
}
return Plugin_Continue;
}
public Action L4D_OnGetCrouchTopSpeed(int client, float &retVal)
{
if( g_fSpeedCrouch[client] && IsFakeClient(client) && GetClientTeam(client) == 2)
{
retVal = g_fSpeedCrouch[client];
return Plugin_Handled;
}
return Plugin_Continue;
}
I try this but it's seem is not working on teammate bots
Got any idea how it work only on bots teammate?