# CNewParticleEffect:AddControlPoint

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

```lua
CNewParticleEffect:AddControlPoint( number cpID, Entity ent, number partAttachment, string entAttachment = nil, Vector offset = Vector( 0, 0, 0 ) )
```

## Açıklama

Parçacık sistemine bir kontrol noktası ekler.

> **NOT:** Eğer [CNewParticleEffect:GetOwner](https://gmod.tr/wiki/CNewParticleEffect:GetOwner) entity'si geçerli değilse bu fonksiyon çalışmaz

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **cpID**: Kontrol noktası ID'si, 0 ile 63 arasında.
2. [Entity](https://gmod.tr/wiki/Entity) **ent**: Kontrol noktasının ekleneceği entity.
3. [number](https://gmod.tr/wiki/number) **partAttachment**: [PATTACH enum](https://gmod.tr/wiki/Enums/PATTACH) sayfasına bakın.
4. [string](https://gmod.tr/wiki/string) **entAttachment** = nil: Parçacık sisteminin ekleneceği entity üzerindeki eklenti adı
5. [Vector](https://gmod.tr/wiki/Vector) **offset** = Vector( 0, 0, 0 ): Bu kontrol noktasını eklediğimiz entity'nin [Entity:GetPos](https://gmod.tr/wiki/Entity:GetPos) konumundan olan uzaklık.

- [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/CNewParticleEffect:AddControlPoint
