Skip to main content

UCR.SetRole

Optional integration

This method requires UncomplicatedCustomRoles.

Sets the UCR role of a player.

Syntaxโ€‹

UCR.SetRole @player role_id

Argumentsโ€‹

NameRequiredTypeDescription
playerYesPlayer value e.g. @player, with EXACTLY 1 player.
role idYesAny whole number

On a running serverโ€‹

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