Skip to main content

Events

PreTick

This fires every tick on the server before any server logic is run.

Event.Add("PreTick", function()
print("PreTick! Elapsed seconds: " .. tostring(Server.GetElapsedSeconds()))
end)

PostTick

This fires every tick on the server after all server logic is run.

Event.Add("PostTick", function()
print("PostTick! Elapsed seconds: " .. tostring(Server.GetElapsedSeconds()))
end)