SlashCo Wiki

SlashCo.PlayerPickedLobbySlasher

  SlashCo.PlayerPickedLobbySlasher( Player ply, string slasherID )

Description

This is used internally - although you're able to use it you probably shouldn't.
Stores the Slasher a player picked in the lobby, both on the player itself and inside SlashCo.LobbyData.AssignedSlashers so it survives a disconnect/reconnect.
Does nothing outside of the lobby.

Arguments

1Player ply

The player that picked a Slasher

2string slasherID

ID of the picked Slasher