# bit.bor

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

```lua
number bit.bor( number value1, ... )
```

## Açıklama

Belirtilen tüm değerlerin bitsel VEYA (bitwise OR) işleminin sonucunu döndürür.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **value1**: İlk değer.
2. [vararg](https://gmod.tr/wiki/vararg) **...**: Değerlendirilecek ek değerler. (hepsi sayı olmalıdır)

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

1. [number](https://gmod.tr/wiki/number): Tüm sayılar arasındaki bitsel VEYA (bitwise OR) işleminin sonucu.

### Örnek

Üç değer arasında bitsel VEYA (bitwise OR) işlemi gerçekleştirir.

```lua
local a = math.BinToInt("1000")
local b = math.BinToInt("0100")
local c = math.BinToInt("0001")

local result = bit.bor(a, b, c)

print(math.IntToBin(result))
print(result)
```

**Çıktı:**

```lua
1101
13
```

### Örnek

Bir NPC'ye birden fazla yetenek ekleme.

```lua
NPC:CapabilitiesAdd( bit.bor( CAP_MOVE_GROUND, CAP_ANIMATEDFACE, CAP_TURN_HEAD ) )
```

- [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/bit.bor
