CRole.Set
Assigns a custom role to a player.
Syntaxโ
CRole.Set @players custom_role
Argumentsโ
| Name | Required | Type | Description |
|---|---|---|---|
players | Yes | Player variable (e.g. @all, @classDPlayers) | |
custom role | Yes | Custom role id e.g. myCustomRole | Default: 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.