OnServerResourceStop
Внешний вид
This event is triggered when a resource stops.
<syntaxhighlight lang="csharp"> [ServerEvent(Event.ResourceStopEx)] </syntaxhighlight>
Parameters
- resourceName: parameter input should be in string type
Example
<syntaxhighlight lang="csharp"> [ServerEvent(Event.ResourceStopEx)] public void OnResourceStopEx(string resourceName) {
NAPI.Util.ConsoleOutput($"Resource: {resourceName} has been stopped.");
} </syntaxhighlight>