OnResourceStop
This event is triggered when a resource is stopped and it will handle stuff before the resource termination.
C# Syntax
[ServerEvent(Event.ResourceStop)]
Example
[ServerEvent(Event.ResourceStop)]
public void OnResourceStop()
{
NAPI.Util.ConsoleOutput($"My resource was stopped.");
}