OnServerResourceStart

From RAGE Multiplayer Wiki

This event is triggered when a resource starts.


C# Syntax

[ServerEvent(Event.ResourceStartEx)]

Parameters

  • resourceName: parameter input should be in string type

Example

[ServerEvent(Event.ResourceStartEx)]
public void OnResourceStartEx(string resourceName)
{
    NAPI.Util.ConsoleOutput($"Resource: {resourceName} has been started.");
}