# Entity:PrecacheGibs

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

```lua
number Entity:PrecacheGibs()
```

## Açıklama

Varlığın modeli için parçaları (gibs) önbelleğe alır.

Normalde bu fonksiyon, varlık doğduğunda (spawn) çalıştırılmalıdır; örneğin [ENTITY:Initialize](https://gmod.tr/wiki/ENTITY:Initialize) içerisinde, [Entity:SetModel](https://gmod.tr/wiki/Entity:SetModel) çağrıldıktan sonra.

Bu, [Entity:GibBreakServer](https://gmod.tr/wiki/Entity:GibBreakServer) ve [Entity:GibBreakClient](https://gmod.tr/wiki/Entity:GibBreakClient) fonksiyonlarının çalışması için gereklidir.

## Döndürülen Değer

1. [number](https://gmod.tr/wiki/number) **gibCount**: Nesnenin sahip olduğu parça (gib) miktarı

- [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:PrecacheGibs
