Skip to main content

CRole.Set

Assigns a custom role to a player.

Syntaxโ€‹

CRole.Set @players custom_role

Argumentsโ€‹

NameRequiredTypeDescription
playersYesPlayer variable (e.g. @all, @classDPlayers)
custom roleYesCustom role id e.g. myCustomRoleDefault: removes the current custom role from the player

On a running serverโ€‹

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