FireProblem

  FireProblem( table problem )

Açıklama

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

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

Argümanlar

1 table ile Problem yapısı problem
Problemin tanımı.




Örnek: Düzeltilemeyen Problem

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

local problem = { text = 'There is a problem!' , type = 'addons' , id = 'my-problem-1234' } FireProblem(problem)
Çıktı:


Örnek: Düzeltilebilir Problem

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

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ı:

Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord