Closed jacob404 closed 9 years ago
If you prevent jump/m1/m2 then could the user cycle between cameras?
We would re-enable it when they get their spawn timer, so it wouldn't effect their camera. It's the time between when the player dies and the player has a timer / control of the camera.
doing this tonight
https://github.com/jacob404/promod-future/blob/master/addons/sourcemod/scripting/nodeathcam.sp
needs 2 be finished but good framework
Players are able to spam those buttons after dying as infected to get their spawn faster. It can be abused not only to get a faster spawn time, but to manipulate the spawn order, meaning that your death order doesn't necessarily mean your sac order. I'd rather completely block this function and lower spawn timers by 1 second.
In experimenting I've found that you can fakeclientcommand +jump and the player will be unable to jump until you fakeclientcommand -jump. Could possibly do this with jump, m1, and m2 from the time frame where you die until you have your spawn timer.