mp.roles
Roles of players (moderator, driver, ...), kept by Open Road MP account. Admins come from server.cfg (admins).
set
mp.roles.set(player: PlayerRef, role: string | null): voidGives the player a role (a name of your choice, e.g. "moderator"), or takes it with null. Kept by account in <gamemode>/data/roles.json.
get
mp.roles.get(player: PlayerRef): string | nullThe player's role, or null. Admins from server.cfg without a role get "admin".
has
mp.roles.has(player: PlayerRef, role: string): booleanWhether the player has this role. Admins (server.cfg) have every role.
mp.markers
Markers in the players' 3D world: a hologram of the game itself (16 symbols, 9 colours) up to 250 m from the truck, above it a label with the distance (to the metre, counting while they drive), hidden behind buildings and terrain unless throughObjects. For everyone or only certain players.
mp.bans
Bans by Open Road MP account, also with an end.