RSSy MYGO.pl Opublikowano Listopad 25, 2016 o 06:30 RSSy Udostępnij Opublikowano Listopad 25, 2016 o 06:30 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; } I've posted the compiled plugin, maybe some people want it.. Or not. c: Don't forgot that sv_timebetweenducks needs to be set at 0! Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się