shavitush / bhoptimer

A bunnyhop timer plugin for Counter-Strike: Source, Counter-Strike: Global Offensive and Team Fortress 2.
https://timer.shav.it
GNU General Public License v3.0
228 stars 93 forks source link

Feat/autorestart #1170

Closed MSWS closed 1 year ago

MSWS commented 1 year ago

Similar to SurfTimer's auto reset, this MR adds the sm_autorestart command to the BHop timer. Players that have this enabled will automatically be reset if their current run time exceeds their PB.

rtldg commented 1 year ago

I made some small changes for style & variable names. Also removed the ProcessCookie function and the SetClientCookie(client, cookie, "0") since this was a good opportunity to remove that since it's not needed.