Find this
private static void ClosePlayerInventory(BasePlayer player)
{
player.ClientRPCPlayer(null, player, "OnRespawnInformation");
}
Replace with
private static void ClosePlayerInventory(BasePlayer player)
{
player.ClientRPC(RpcTarget.Player("OnRespawnInformation", player));
}
Find this
player.ClientRPCPlayer(null, player, "RPC_OpenLootPanel", entitySource.panelName);
Replace with
player.ClientRPC(RpcTarget.Player("RPC_OpenLootPanel", player, entitySource.panelName));
Find this
write.BytesWithSize(_bytes, byteCount);
Replace with
write.BytesWithSize(new MemoryStream(_bytes, 0, byteCount));
Ur welvam
Its broken, The fix is here
New to editing plugins. I downloaded this plugin from a fresh start and it did not locate the lines you said to find
Find this
private static void ClosePlayerInventory(BasePlayer player)
{
player.ClientRPCPlayer(null, player, "OnRespawnInformation");
}
Find this
player.ClientRPCPlayer(null, player, "RPC_OpenLootPanel", entitySource.panelName);
Find this
write.BytesWithSize(_bytes, byteCount);
None of these are present in the plugin downloaded from umod
uh yeah I may have been on a drunk tangent last night an may have posted the wrong code to the wrong plugin; my bad