0 Üye ve 1 Ziyaretçi konuyu incelemekte.
butons = { {"handlingpanel", -- görevin datası { ["F1"] = true, -- iptal edilcek tuş ["B"] = true, } }, }addEventHandler("onClientKey", root, function(button, press) -- oyuncu herhangi bir tuşa bastığında for i,v in pairs(butons) do -- butons tablosunu döndür local veri, tus = unpack(v) -- tablodaki verileri dğeişkene koy if tus[button] and getElementData(localPlayer, veri) then -- eğer basılan uton tusların içinde varsa ve oyuncunun datası bellirtilen data ise cancelEvent() -- iptal et outputChatBox("Yasak tus", 255,255,255,true) end end end)