Skip to main content

UCR.GetSpawnedCount

Optional integration

This method requires UncomplicatedCustomRoles.

Counts players using a UCR role.

Syntax​

UCR.GetSpawnedCount *role_reference

Returns​

number value

Arguments​

NameRequiredTypeDescription
role referenceYesa reference to UCRRole object.

On a running server​

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