addEventHandler("onClientGUIClick",root,
function()
if (source == Check) then
setTimer(guiSetText,1000,1,Check,". جاري التأكد")
setTimer(guiSetText,2000,1,Check,"..جاري التأكد")
setTimer(guiSetText,3000,1,Check,"...جاري التأكد")
setTimer(guiSetText,4000,1,Check,"تم التأكد")
end
if not Serial[getPlayerSerial(localPlayer)] then
setTimer(guiSetText,5000,1,Check,"خطأ: سريال غير موجود")
end
if guiGetText(Check,"خطأ: سريال غير موجود") then
guiSetEnabled(Check,false)
setTimer(guiSetEnabled,90000,1,Check,true)
if Serial[getPlayerSerial(localPlayer)] then
setTimer(guiSetText,5000,1,Check,".تم التأكد من السريال")
if guiGetText(Check,".تم التأكد من السريال") then
guiSetVisible(Start,true)
guiSetVisible(Stop,true)
guiSetVisible(MEdit,true)
guiSetVisible(Check,false)
end
end
end
end
)