onClientResourceStop

Called when a resource stops.

Parameters

string resourceName

Examples

This example prints the name of a resource that was just stopped.

Lua Example:
AddEventHandler('onClientResourceStop', function (resourceName)
  print('The resource ' .. resourceName .. ' has been stopped on the client.')
end)
C# Example:
// In class constructor
Eventhandlers["onClientResourceStop"] += new Action<string>(OnClientResourceStop);

// Delegate method
private void OnClientResourceStop(string resourceName)
{
    Debug.WriteLine($"The resource {resourceName} has been stopped on the client.");
}