Replies: 3 comments
-
interesting find - I'll try to take a look soon. But it might just be that we do a documentation change as we're surfacing a net-var of the same name, so it might be misleading if it was something else |
Beta Was this translation helpful? Give feedback.
-
I think these are interesting lines also. It seems like the variable |
Beta Was this translation helpful? Give feedback.
-
Confirmed. Just tested on local server. I was standing still holding walk key and shot 4 shots. It said I hit 4 shots and all of them are |
Beta Was this translation helpful? Give feedback.
-
I first thought isWalking means that player is in movement. But is this the case?
I went through csgo source code https://github.com/perilouswithadollarsign/cstrike15_src and found this:
bool walkButtonIsDown = ( mv->m_nButtons & ( /*IN_WALK | */ IN_SPEED ) ) != 0;
This makes me think that m_bIsWalking only means that player is holding walk button? This means he can still be standing still.
I have not fully went through the source code, but just an interesting idea. Maybe we are using the flag wrongly?
Beta Was this translation helpful? Give feedback.
All reactions