DisableEvent
Disables the provided event from running.
Syntax
DisableEvent "eventName"
Returns
bool value
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
eventName | Yes | Any text e.g. "Hello, World!" |
Details
Returns true if the event was disabled, false if it was already disabled.
Possible errors
- There exists no event with the provided name.
- The provided event is not cancellable.
On a running server
Use serhelp DisableEvent to inspect the reference generated by your installed SER version.