TUTORIAL[RESOURCE] Lua-based Fakelag

Posts 110 of 10 · Page 1 of 1
[RESOURCE] Lua-based Fakelag
Hello, everyone! I'm releasing to you all Lua-based fakelag! Don't worry, it's not the real stuff! It's a version that the almighty cdriza attempted at recreating with the help of me. Silly boy doesn't even know proper operands yet :\ He'll get there, though. Anyway, just thought I'd help him spread the word!

http://pastebin.com/VrepCtAW

Enjoy!
why not just ditch cvar3 already, its just... awful
Don't you use host_timescale in Ampris? just make a bSendPacket module

Code:
local FakeLagTicks = 0
local FakeLagFactor = 12

function FakeLag()
    bSendPacket = false
    if FakeLagTicks <= 0 then
        FakeLagTicks = FakeLagFactor
        bSendPacket = true
    else
        FakeLagTicks = FakeLagTicks - 1
    end
end
Quote Originally Posted by LoliSmasher2001 View Post
Don't you use host_timescale in Ampris? just make a bSendPacket module

Code:
local FakeLagTicks = 0
local FakeLagFactor = 12

function FakeLag()
    bSendPacket = false
    if FakeLagTicks <= 0 then
        FakeLagTicks = FakeLagFactor
        bSendPacket = true
    else
        FakeLagTicks = FakeLagTicks - 1
    end
end
still really gay
Quote Originally Posted by LoliSmasher2001 View Post
Don't you use host_timescale in Ampris? just make a bSendPacket module

Code:
local FakeLagTicks = 0
local FakeLagFactor = 12

function FakeLag()
    bSendPacket = false
    if FakeLagTicks <= 0 then
        FakeLagTicks = FakeLagFactor
        bSendPacket = true
    else
        FakeLagTicks = FakeLagTicks - 1
    end
end
good thing this won't even work the way you set it up
Quote Originally Posted by D3M0L1T10N View Post
good thing this won't even work the way you set it up
re-read it then, it is working
amazing code thx

- - - Updated - - -

thx welcome ok
Posts 110 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?