# GM:CreateClientsideRagdoll

- **Ortam:** İstemci
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/GM:CreateClientsideRagdoll
- **Çeviri tarihi:** 2025-09-08

```lua
GM:CreateClientsideRagdoll( Entity entity, Entity ragdoll )
```

## Açıklama

Bir entity (varlık), istemci tarafı bir ragdoll olduğunda çağrılır.

Sunucu tarafı ragdoll'lar için [GM:CreateEntityRagdoll](https://gmod.tr/wiki/GM:CreateEntityRagdoll) sayfasına bakın.

## Argümanlar

1. [Entity](https://gmod.tr/wiki/Entity) **entity**: Ragdoll'u oluşturan Entity.
2. [Entity](https://gmod.tr/wiki/Entity) **ragdoll**: Oluşturulmakta olan ragdoll.

### Örnek

Bir ragdoll'u kolayca yavaşça yok etmenin bir yolu. Fikir [şuradan](https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/mp/src/game/client/c_baseanimating.cpp#L533) alınmıştır.

```lua
hook.Add( "CreateClientsideRagdoll", "fade_out_corpses", function( entity, ragdoll )
	ragdoll:SetSaveValue( "m_bFadingOut", true ) -- Set the magic internal variable that will cause the ragdoll to immediately start fading out
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/GM:CreateClientsideRagdoll
