# steamworks.SetShouldMountAddon

- **Ortam:** Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/steamworks.SetShouldMountAddon
- **Çeviri tarihi:** 2025-09-08

```lua
steamworks.SetShouldMountAddon( string workshopItemID, boolean shouldMount )
```

## Açıklama

Bir eklentinin etkinleştirilip etkinleştirilmeyeceğini ayarlar. Güncellemek için daha sonra [steamworks.ApplyAddons](https://gmod.tr/wiki/steamworks.ApplyAddons) fonksiyonunu çağırın.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **workshopItemID**: Etkinleştirmemiz/devre dışı bırakmamız gereken Steam Atölye öğesinin ID'si
2. [boolean](https://gmod.tr/wiki/boolean) **shouldMount**: Öğeyi etkinleştirmek için true, devre dışı bırakmak için false.

### Örnek

Gm_construct_Beta Steam Atölye eklentisini etkinleştirir ve ardından eklentileri yeniden yükler

```lua
steamworks.SetShouldMountAddon( 21197, true )
steamworks.ApplyAddons()
```

**Çıktı:** Eğer yüklüyse, gm_construct_beta eklentisi etkinleştirildi.

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/steamworks.SetShouldMountAddon
