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
| Name | Required | Type | Description |
|---|---|---|---|
role id | Yes | Any whole number |
On a running server
Use serhelp UCR.GetPlayersWithRole to inspect the reference generated by your installed SER version.