Please don't dumb me.. I'm pretty new to LUA and i'm only 13.
Okay, so I was on this TTT server, and i saw it had Zed time, like the slow motion effect in killing floor. How would I make zed time? I have been looking all over teh interwebz how to make slow-motion on last ttt kill, to be specific, round end, but all people tell me is to have LUA change timescale and turn on cheats. A few probs there..
1. LUA cannot turn on sv_cheats to 1.
2. People would cheat/mess up server between round end and round start. (30s).
Please help me.
Thanks, gonna read it
[editline]13th November 2012[/editline]
LOL, exactly what i needed. :downs:
[editline]13th November 2012[/editline]
Wait.. the download link doesn't work. :(
[QUOTE]all over teh interwebz[/QUOTE]
:suicide:
[highlight](User was banned for this post ("This isn’t helpful" - mahalis))[/highlight]
lol, anyway, is there a chance I can get that zip?
[editline]13th November 2012[/editline]
Nevermind, i did a little more research, changed up my endround code a bit, this is what I got. Will it work?
local function SlowMo(wintype)
if wintype == WIN_INNOCENT then
RunConsoleCommand("host_timescale", "0.3");
elseif wintype == WIN_TRAITOR then
RunConsoleCommand("host_timescale", "0.3");
elseif wintype == WIN_TIMELIMIT then
RunConsoleCommand("host_timescale", "0.3");
end
end
hook.Add("TTTEndRound", "TimeScale", SlowMo)
[QUOTE]Convars :
Code:
ttt_zedtime_endround : def 0, enables slow-motion when a round ends[/QUOTE]
ttt_zedtime_endround 1
..?
The download link works now.
Okay, thanks everyone. Got what I needed.
thnx im a crazy jew
Sorry, you need to Log In to post a reply to this thread.