# Entity:FindBodygroupByName

- **Ortam:** İstemci, Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Entity:FindBodygroupByName
- **Çeviri tarihi:** 2025-09-08

```lua
number Entity:FindBodygroupByName( string name )
```

## Açıklama

[Entity](https://gmod.tr/wiki/Entity)'nin modelinde, verilen bir isme sahip bir Body Group arar.

> **NOT:** Silahlar, viewmodel'larından sonuçlar döndürecektir.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **name**: Aranacak isim.

## Dönüş Değeri

1. [number](https://gmod.tr/wiki/number): [Body Group'un ID'si](https://gmod.tr/wiki/Structures/BodyGroupData#id) veya sağlanan isme sahip bir Body Group yoksa `-1` döner.

- [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/Entity:FindBodygroupByName
