delegates.unsubscribe
Removes a Lua event subscription.
Syntax
ue.delegates.unsubscribe(id: integer) -> booleanParameters
| Parameter | Type | Description |
|---|---|---|
id | integer | Subscription ID. |
Returns
| Type | Description |
|---|---|
boolean | true if a subscription was removed. |
Example
ue.delegates.unsubscribe(subscription_id)