# WEAPON:GetNPCRestTimes

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

```lua
number, number WEAPON:GetNPCRestTimes()
```

## Açıklama

Silah NPC'ler tarafından kullanıldığında, NPC'ye bu silahı nasıl kullanacağını bildirmek için çağrılır. NPC'nin atış aralarında ne kadar süre dinlenebileceğini (ateş etmeyeceğini) kontrol eder.

## Geri Dönüş Değerleri

1. [number](https://gmod.tr/wiki/number): NPC'nin atış aralarında dinlenebileceği (ateş etmeyeceği) minimum süre (saniye cinsinden). Varsayılan değer `0.3` saniyedir.
2. [number](https://gmod.tr/wiki/number): NPC'nin atış aralarında dinlenebileceği (ateş etmeyeceği) maksimum süre (saniye cinsinden). Varsayılan değer `0.6` saniyedir.

- [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/WEAPON:GetNPCRestTimes
