Replies: 1 comment
-
|
Nope |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
#pragma warning disable IDE1006
using System.Linq;
using GameNetcodeStuff;
using HarmonyLib;
using Hax;
[HarmonyPatch(typeof(PlayerControllerB))]
class KickPlayerPatch {
[HarmonyPatch("SendNewPlayerValuesServerRpc")]
static bool Prefix(PlayerControllerB __instance) {
if (!Setting.EnableKickPlayer) return true;
}
I was wondering if I could code like this
Beta Was this translation helpful? Give feedback.
All reactions