# Entity:SetMaxHealth

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

```lua
Entity:SetMaxHealth( number maxhealth )
```

## Açıklama

Varlığın maksimum canını ayarlar. Unutmayın, bu değerin üzerinde bir can miktarını [Entity:SetHealth](https://gmod.tr/wiki/Entity:SetHealth) ile ayarlayabilirsiniz.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **maxhealth**: Maksimum canın ne olması gerektiği

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