SlashCo Wiki

SlashCo.AssignSlasher

  SlashCo.AssignSlasher( string steamid, string forceSlasherID )

Description

Forces a player to become a Slasher for the upcoming round while in the lobby.
Accepts a plain SteamID or a SteamID64. If picking has already finished, the player is immediately asked to pick their Slasher.

Arguments

1string steamid

The SteamID or SteamID64 of the player to assign as Slasher

2string forceSlasherID

If set, forces this specific Slasher ID onto the player instead of letting them pick one