nanos world API Reference Unofficial documentation
Static function Server Fast

Server.Unsubscribe

Unsubscribes from all subscribed Events in this Class and in this Package, optionally passing the function to unsubscribe only that callback

Syntax

Lua
Server.Unsubscribe(event_name, function = nil)

Parameters

Name Type Default Description
event_name string The name of the Events
function optional function nil Callback function