Skip to main content

CRole.IsRegistered

Checks if a given custom role is registered.

Syntax

CRole.IsRegistered role_id

Returns

bool value

Arguments

NameRequiredTypeDescription
role idYesText with no spaces e.g. someValue (quotes are not required)

On a running server

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