OnServerResourceStop
This event is triggered when a resource stops.
C# Syntax
[ServerEvent(Event.ResourceStopEx)]
Parameters
- resourceName: parameter input should be in string type
Example
[ServerEvent(Event.ResourceStopEx)]
public void OnResourceStopEx(string resourceName)
{
NAPI.Util.ConsoleOutput($"Resource: {resourceName} has been stopped.");
}