شكرا لك أخي خادم المسلمين ..
شروحات مهمة وملفات مهمة نحتاجها مستقبلا
شروحات مهمة وملفات مهمة نحتاجها مستقبلا
if Input.GetText(this)=="0" then
Input.SetText(this, "");end
Audio.Play(CHANNEL_USER1); result = Label.GetText("Label1")-1 p =result-1 Label.SetText("Label1", result); t =Label.GetText("Label1")/3600 h = Math.Floor(t); m = Math.Floor((t-h) *60) s = Math.Mod(result, 60); Label.SetText("timer", h..":"..m..":"..s); if result ==0 then Page.StopTimer(); end Progress.SetCurrentPos("Progress1", p); [COLOR="Red"]if result ==10 then Audio.Stop(CHANNEL_USER1); Audio.Play(CHANNEL_USER2); if result ==0 then Page.StopTimer(); end[/COLOR] end
result = Label.GetText("Label1")-1
p =result-1
Label.SetText("Label1", result);
t =Label.GetText("Label1")/3600
h = Math.Floor(t);
m = Math.Floor((t-h) *60)
s = Math.Mod(result, 60);
Label.SetText("timer", h..":"..m..":"..s);
Progress.SetCurrentPos("Progress1", p);
if result> 10 then
Audio.Play(CHANNEL_USER1);
elseif result<= 10 then
Audio.Play(CHANNEL_USER2);
if result ==0 then
Page.StopTimer();
end
end
تعليق