IsAllowed
Allows or cancels the event that started this script.
Syntax
IsAllowed isAllowed
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
isAllowed | Yes | bool (true or false) value |
Details
This only works in a cancellable event, before any Wait or other pause. It cannot cancel the current event while SafeScripts is enabled because the safety pause lets the event continue first.
Validated examples using this method
On a running server
Use serhelp IsAllowed to inspect the reference generated by your installed SER version.