CHEATS GUIs SCRIPTS MAPS TUTORIALS SOUNDS EFFECTS TOOLS SERVERS SKINS TEXTURES MODELS PLUGINS MODS
 
 GVME > CSGO > Downloads > Plugins
Remove ads!
Rating
Based on GVME Community!
Rating:


Your rating: N/A
Total votes: 0

You cannot rating yet!
You can rate anything - when you add rating to a submission your vote determines its success or failure.

To vote on this submission
register or login

You cannot add to Favorites!
Total Favorites

You cannot say thanks!
You must register or login

Statistics
Scores and popularity
Views: 802
Downloads: 171
Feedback: 0

Duck Spamming Fix

Share: F F F F F F F
Crouch spamming fix
  Added by: FaLLeN
Author(s):
Xutax_Kamay
  Category: Counter-Strike: Global Offensive > Plugins Type: General Purpose
  Tags: crouch spam surf
This fixes crouch spamming, could be useful for some people.
Well, when I was doing my xdream surf server on cs:go (wich I rarely play), I noticed that there was some duck restriction..
So after doing cl_pdump for dumping netvars and see what happened, I saw m_flDuckSpeed being close to 0.
What could be done was pretty obvious (for coders), do the following:
CODE
public Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon)
{
    if (!IsInGame(client))
    {
        return Plugin_Continue;
    }

    new Float:DuckSpeed = GetEntPropFloat(client, Prop_Data, "m_flDuckSpeed");
    
    if (DuckSpeed < 7.0)
    {
        SetEntPropFloat(client, Prop_Send, "m_flDuckSpeed", 7.0, 0);
    }
    
    return Plugin_Continue;
}

Don't forgot that sv_timebetweenducks needs to be set at 0!
  Added: Mar 7 2020, 11:34 AM    Modified: Never edited!    Thanks List: [+]      
Add Feedback

You cannot post yet!
Get involved on GVME by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login
Feedback