From f93bed46f19c46ddab52bac159dc7351b4069fe8 Mon Sep 17 00:00:00 2001 From: Dawid Bepierszcz <41084667+daffyyyy@users.noreply.github.com> Date: Sun, 20 Oct 2024 09:33:35 +0200 Subject: [PATCH] Sticker position re-added Sticker position re-added --- WeaponAction.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/WeaponAction.cs b/WeaponAction.cs index 4a35b249..ea93c1b5 100644 --- a/WeaponAction.cs +++ b/WeaponAction.cs @@ -172,10 +172,10 @@ private void SetStickers(CCSPlayerController? player, CBasePlayerWeapon weapon) // $"sticker slot {stickerSlot} schema", stickerSlot); // if (stickerSlot == 5) // { - // // CAttributeListSetOrAddAttributeValueByName.Invoke(weapon.AttributeManager.Item.NetworkedDynamicAttributes.Handle, - // // $"sticker slot {stickerSlot} offset x", 0.05f); - // // CAttributeListSetOrAddAttributeValueByName.Invoke(weapon.AttributeManager.Item.NetworkedDynamicAttributes.Handle, - // // $"sticker slot {stickerSlot} offset y", 0.02f); + CAttributeListSetOrAddAttributeValueByName.Invoke(weapon.AttributeManager.Item.NetworkedDynamicAttributes.Handle, + $"sticker slot {stickerSlot} offset x", sticker.OffsetX); + CAttributeListSetOrAddAttributeValueByName.Invoke(weapon.AttributeManager.Item.NetworkedDynamicAttributes.Handle, + $"sticker slot {stickerSlot} offset y", sticker.OffsetY); // } CAttributeListSetOrAddAttributeValueByName.Invoke(weapon.AttributeManager.Item.NetworkedDynamicAttributes.Handle, $"sticker slot {stickerSlot} wear", sticker.Wear);