Raised This Month: $12 Target: $400
 3% 

Running Animation?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 03-03-2018 , 15:28   Running Animation?
Reply With Quote #1

PHP Code:
SetEntityMoveType(clientMOVETYPE_NONE); 
But running (moving or walking) animation is ongoing. That's why, player can't shoot. When running animation is ongoing, recoil problems etc.

Game: CSGO

How can fix this problem?

Btw, sorry for poor English
__________________

Last edited by vortex.; 03-03-2018 at 15:37.
vortex. is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-03-2018 , 16:06   Re: Running Animation?
Reply With Quote #2

Try setting their velocity to 0
Mitchell is offline
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 03-03-2018 , 16:22   Re: Running Animation?
Reply With Quote #3

velocity[0] and velocity[1] will set 0.

But velocity[2] is needed?
__________________
vortex. is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 03-03-2018 , 16:38   Re: Running Animation?
Reply With Quote #4

In OnPlayerRunCmd, set their vel to all 0 and set their buttons to 0.
hmmmmm is offline
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 03-03-2018 , 16:45   Re: Running Animation?
Reply With Quote #5

PHP Code:
                if(GetSpeed(client) == 0.0)
                {
                    
// my codes
                
}
                else 
                {
                    
SetEntPropFloat(clientProp_Send"m_vecVelocity[0]"0.0);
                    
SetEntPropFloat(clientProp_Send"m_vecVelocity[1]"0.0);
                } 
Thanks for help.
__________________
vortex. is offline
Reply


Thread Tools
Display Modes

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 08:52.


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