# FireProblem

- **Ortam:** Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Global.FireProblem
- **Çeviri tarihi:** 2025-09-08

```lua
FireProblem( table problem )
```

## Açıklama

Verilen tanıma göre bir problem oluşturur.

> **NOT:** Aynı ID'ye sahip mevcut problemler değiştirilir / üzerine yazılır.

## Argümanlar

1. [table](https://gmod.tr/wiki/table) ile [Problem yapısı](https://gmod.tr/wiki/Structures/Problem) **problem**: Problemin tanımı.

---

### Örnek: Düzeltilemeyen Problem

Kullanıcının düzeltemeyeceği bir problem oluşturma.

```lua
local problem = {
    text = 'There is a problem!' ,
    type = 'addons' ,
    id = 'my-problem-1234'
}

FireProblem(problem)
```

**Çıktı:** ![](https://gmod.tr/api/uploads/wiki/bf70e02646b6db665224.webp)

### Örnek: Düzeltilebilir Problem

Kullanıcı tarafından düzeltilebilecek bir problem oluşturma.

```lua
local function fixProblem ()
    ClearProblem('my-problem-1234')
end

local problem = {
    text = 'There is a problem!' ,
    type = 'addons' ,
    fix = fixProblem ,
    id = 'my-problem-1234'
}

FireProblem(problem)
```

**Çıktı:** ![](https://gmod.tr/api/uploads/wiki/7b0be87fe2abb9fdaa3b.webp)

- [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/Global.FireProblem
