Skip to main content

EnableEvent

Enables the provided event to run after being disabled.

Syntax​

EnableEvent "eventName"

Returns​

bool value

Arguments​

NameRequiredTypeDescription
eventNameYesAny text e.g. "Hello, World!"

Details​

Returns true if the event was enabled, false if it was already enabled.

Possible errors​

  • There exists no event with the provided name.
  • The provided event is not cancellable.

On a running server​

Use serhelp EnableEvent to inspect the reference generated by your installed SER version.