# physenv.GetLastSimulationTime

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

```lua
number physenv.GetLastSimulationTime()
```

## Açıklama

Oyun içi fiziğin son simülasyon süresini döndürür.

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

1. [number](https://gmod.tr/wiki/number): Oyun içi fiziğin saniye cinsinden son simülasyon süresi

### Örnek

100ms'nin üzerinde fizik gecikmesi tespit edildiğinde bir mesaj yazdırır.

```lua
hook.Add("Think", "LagDetector", function ()
	if physenv.GetLastSimulationTime() * 1000 > 100 then
		print("Fizik gecikmesi tespit edildi!")
	end
end)
```

- [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/physenv.GetLastSimulationTime
