Help with FakeLag.lua

2583729chiter04720

Новичок
Автор темы
23
3
When I activate the lua file, this prints a string that says "FAKE LAG ON" but this message remains activated until it is deactivated. (The deactivation message is removed after 5 seconds, no problem with that)

I'm looking for that message to be deactivated after a few seconds

If someone can help me modify the file I will be grateful

Original Post: "Lua FakeLag by xlhuff"
 

Вложения

  • fake_lag.lua
    791 байт · Просмотры: 40

Carrentine

Потрачен
569
462
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Lua:
local bState = false

function main()
    if not isSampAvailable() then return false end
    sampRegisterChatCommand("LAG",
        function ()
            bState = not bState
            for iType = 1, 3 do
                sampSetSendrate(iType, bState and 1000 or 0)
            end
            printStringNow(string.format("bState: %s", tostring(bState)), 1000)
        end)
    wait(-1)
end
 

Вложения

  • lags.lua
    327 байт · Просмотры: 31
  • Нравится
Реакции: 2583729chiter04720