FS4
الذهاب إلى القناة على Telegram
لا توجد بيانات
المشتركون
لا توجد بيانات24 ساعات
+347 أيام
+5630 أيام
أرشيف المشاركات
0
local TXtime_ticker = require('common.time_ticker')
TXtime_ticker.AddTimerLoop(0.5, function()
pcall(function()
local hud = require("game_frontend_hud")
if hud and hud.FindWidgetByClass then
local popup = hud.FindWidgetByClass("Common_Popup_Large_UIBP")
if popup and slua.isValid(popup) then
local btn = popup.Button_Confirm or popup.Button_OK
if btn and btn.OnClicked then
btn.OnClicked:Broadcast()
else
popup:RemoveFromParent()
end
end
end
end)
end, 10, 0.5)
end)0
Repost from 𝐑𝐃𝐗
fix annoying notification
this code deletes this notification.
pcall(function()
local TXtime_ticker = require('common.time_ticker')
TXtime_ticker.AddTimerLoop(0.5, function()
pcall(function()
local hud = require("game_frontend_hud")
if hud and hud.FindWidgetByClass then
local popup = hud.FindWidgetByClass("Common_Popup_Large_UIBP")
if popup and slua.isValid(popup) then
local btn = popup.Button_Confirm or popup.Button_OK
if btn and btn.OnClicked then
btn.OnClicked:Broadcast()
else
popup:RemoveFromParent()
end
end
end
end)
end, 10, 0.5)
end)