public void Disguise(byte AsPlayerId) { if (Player == null) { return; } if (Player.PlayerId == AsPlayerId) { OriginalSkin.Setup(Player); return; } var AsPlayer = PlayerTools.GetPlayerById(AsPlayerId); if (AsPlayer == null) { return; } var NewPerson = PersonInfo.From(AsPlayer.Data); NewPerson.Setup(Player); }
public override void PlayerAssigned() { base.PlayerAssigned(); OriginalSkin = PersonInfo.From(Player.Data); }