public static void Postfix(IGDMNKLDEPI PAOKIAHKEMG) { if (InnerPlayerControl.AllPlayerControls.Count > 1) { MessageWriter writer = AmongUsClient.Instance.StartRpc(InnerPlayerControl.LocalPlayer.NetId, (byte)CustomRPC.SyncCustomSettings, Hazel.SendOption.Reliable); writer.Write(CustomGameOptions.showSheriff); writer.Write(CustomGameOptions.SheriffKillCD); writer.EndMessage(); } }
public static void Postfix1(GameOptionsData __instance, ref string __result, int CCKLGJKEEDP) { if (CustomGameOptions.showSheriff) { __result += "Show Sheriff: On" + "\n"; } else { __result += "Show Sheriff: Off" + "\n"; } __result += "Sheriff Kill Cooldown: " + CustomGameOptions.SheriffKillCD.ToString() + "s"; }