Raised This Month: $32 Target: $400
 8% 

[CS:GO] Stop player footsteps


Post New Thread Reply   
 
Thread Tools Display Modes
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 09-26-2015 , 01:23   Re: [CS:GO] Stop player footsteps
Reply With Quote #21

Sorry people, but I don't understand anybody :\ I don't understand what OnNormalSoundPlayed doing, becouse it isn't working, and SendConVarValue(client, FindConVar("sv_footsteps"), "0 or 1"); I used in player menu.

Last edited by ZASTRELIS; 09-26-2015 at 01:28.
ZASTRELIS is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 09-26-2015 , 04:53   Re: [CS:GO] Stop player footsteps
Reply With Quote #22

Quote:
Originally Posted by Root_ View Post
Code:
else         {             for (new i = 1; i <= MaxClients; i++)             {                 if (IsClientInGame(i))                 {                     clients[numClients++] = i;                 }             }                         return Plugin_Changed;         }
I don't understand this part of code. What's it?
ZASTRELIS is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-26-2015 , 06:53   Re: [CS:GO] Stop player footsteps
Reply With Quote #23

Quote:
Originally Posted by ZASTRELIS View Post
I don't understand this part of code. What's it?
In that Root_ code, it re-fill clients[] array with all players so everyone can here footstep all over map.
__________________
Do not Private Message @me
Bacardi is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 09-26-2015 , 11:09   Re: [CS:GO] Stop player footsteps
Reply With Quote #24

I used him code. It not works on the my server.
Spoiler

Last edited by ZASTRELIS; 09-26-2015 at 11:10.
ZASTRELIS is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 09-29-2015 , 08:34   Re: [CS:GO] Stop player footsteps
Reply With Quote #25

This silent the player footsteps but with some side effects -> https://forums.alliedmods.net/showpo...4&postcount=13
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 09-29-2015 , 09:41   Re: [CS:GO] Stop player footsteps
Reply With Quote #26

ongrnd flag it's a ongrnd flag, it isn't a footstep flag.
ZASTRELIS is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-29-2015 , 10:31   Re: [CS:GO] Stop player footsteps
Reply With Quote #27

here one example.


command, toggle:
sm_test <target>

Try sm_test @me
or sm_test name
or sm_test #userid
or sm_test @aim
test
__________________
Do not Private Message @me

Last edited by Bacardi; 10-04-2015 at 05:46. Reason: wrong, need emit!
Bacardi is offline
lingzhidiyu
Senior Member
Join Date: Mar 2014
Old 09-29-2015 , 10:42   Re: [CS:GO] Stop player footsteps
Reply With Quote #28

if numClients = 2.
clients[0] = onListTarget1
clients[1] = onListTarget2
clients[numClients++] = clients[3] = anotherTarget; ???

for(int i = 1; i <= MaxClients; i++)
{
if(IsClientInGame(i) && !IsFakeClient(i))
{
clients[numClients++] = i;
}
}
lingzhidiyu is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 10-03-2015 , 09:36   Re: [CS:GO] Stop player footsteps
Reply With Quote #29

not works, all foots removed from all players.. and not emmited
ZASTRELIS is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 10-03-2015 , 10:39   Re: [CS:GO] Stop player footsteps
Reply With Quote #30

Quote:
Originally Posted by ZASTRELIS View Post
not works, all foots removed from all players.. and not emmited
i already sent you working code..
ESK0 is offline
Reply



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 21:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode