Skip to main content

OnUpdate

This event is used for iterating code at server's tickrate.

C#​

[ServerEvent(Event.Update)]

Example​

[ServerEvent(Event.Update)]
public void OnUpdate()
{
NAPI.Util.ConsoleOutput($"This should be called at the server tickrate.");
}