# steamworks.VoteInfo

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

```lua
steamworks.VoteInfo( string workshopItemID, function resultCallback )
```

## Açıklama

> **KULLANIMDAN KALKTI:** Bunu kullanmamanızı tavsiye ederiz. Gelecekteki bir güncellemede değiştirilebilir veya kaldırılabilir.
> Bunun yerine [steamworks.FileInfo](https://gmod.tr/wiki/steamworks.FileInfo) verisini kullanın.

Belirtilen eklentinin oy bilgilerini alır.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **workshopItemID**: Atölye öğesinin ID'si.
2. [function](https://gmod.tr/wiki/function) **resultCallback**: Alınan veriyi işleyecek fonksiyon. Fonksiyon argüman(lar)ı: 1. [table](https://gmod.tr/wiki/table) **data** - Oy bilgisi. [UGCFileInfo yapısına](https://gmod.tr/wiki/Structures/UGCFileInfo) bakın.

### Örnek

Gm_construct_Beta Steam Atölyesi eklentisinin oy bilgilerini alır.

```lua
steamworks.VoteInfo( 21197, function( result ) PrintTable( result ) end)
```

**Çıktı:**

```lua
score = 0.97182178497314
total = 2952
down = 36
up = 2916
```

- [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.VoteInfo
