View Single Post
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 07-04-2021 , 09:57   Re: [CS:GO] Detect if a player can't move because of freeze time
Reply With Quote #3

Thanks for your advice, round_freeze_end should work. I will use it if I don't find something more reliable.
I need to implement the same algorithm in an extension and getting m_bFreezePeriod would be too complicated for such a small feature.
For round_freeze_end my concern is that if the plugin or the extension is started in the middle of the round it is hard to tell whether freeze time ended or not.
I think there might be a datamap variable which is set to false for the freeze time period and blocks player movement.

UPD now I see that it's regulated by CCSPlayer::CanMove( and there is now datamap/netprop variable

Last edited by kadet.89; 07-04-2021 at 10:07.
kadet.89 is offline
Send a message via Skype™ to kadet.89