mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-14 15:48:01 +03:00
1c68cb0c98
* Unexpected behavior with mp_forcerespawn leading to a possible exploit Basically there is an exploit (or bug?) where depending on mp_forcerespawn if his value is higher to 0 and lower than 1, when you respawn you have a brief window to change your team, if you succesfully manage to change your team between the mp_forcerespawn value and WITHOUT closing the change appearance menu, you won't die due to "m_fNextSuicideTime", that will trigger the change team but without actually changing your skin model, you will keep the enemy one but the team change will success. Thanks https://github.com/metita for helping me with this Co-Authored-By: metita <33007491+metita@users.noreply.github.com> * Revert "Unexpected behavior with mp_forcerespawn leading to a possible exploit" This reverts commit 73d1c1670645a0798b94055562baff2484cc2cd9. * fix: nullify `m_fNextSuicideTime` before call `ClientKill()` * ClientKill: refactoring * add forgotten if-statement * remove macros Co-authored-by: metita <33007491+metita@users.noreply.github.com> Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>