how to change server con vars with lua?


A LUA script is being made that, when a player is headshotted, the phys_timescale is set to .1 for 5 seconds, then changed back to 1.

Everything is fine except the method of changing server con vars with LUA is unknown.

How would this be done?

What would it be to change the physics timescale not the game timescale?

Right. because if there’s 1 traitor in a room alone with an inno, the second that gun goes off, the traitor gets an unfair advantage.

if its the physics, it’d be harder to be tracked. Not impossible, but harder.

[editline]22nd January 2013[/editline]

*the innos get an unfair advantage.

Much appreciated.