OnUpdate

From RAGE Multiplayer Wiki

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


C# Syntax

[ServerEvent(Event.Update)]

Example

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