OnResourceStart
Внешний вид
This event is triggered when a resource is started and it will handle stuff after the resource has been initiated.
<syntaxhighlight lang="csharp"> [ServerEvent(Event.ResourceStart)] </syntaxhighlight>
Example
<syntaxhighlight lang="csharp"> [ServerEvent(Event.ResourceStart)] public void OnResourceStart() {
NAPI.Util.ConsoleOutput($"My resource has started :).");
} </syntaxhighlight>