Skip to main content

UCR.GetPlayersWithRole

Optional integration

This method requires UncomplicatedCustomRoles.

Gets all players who have a provided UCR role.

Syntax

UCR.GetPlayersWithRole role_id

Returns

player value

Arguments

NameRequiredTypeDescription
role idYesAny whole number

On a running server

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