From 91157b09a18d043e55fd1b4d5b2c3cfa5062aaa4 Mon Sep 17 00:00:00 2001 From: kong Date: Fri, 20 May 2022 16:27:26 +0700 Subject: [PATCH] DO --- xml/page_collect_point_1.xml | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/xml/page_collect_point_1.xml b/xml/page_collect_point_1.xml index 766766c2..f7d686bd 100644 --- a/xml/page_collect_point_1.xml +++ b/xml/page_collect_point_1.xml @@ -14,6 +14,8 @@ Var TelephoneNumber = "" Var TelephoneNumberX = "" + Var TimeOutPlay = 0 + If show_eng = "true" Then Var DirImage = "ROOT/taobin_project/image/collect_point1_en" Play "ROOT/taobin_project/sound_eng/Reward_final.mp3" @@ -86,20 +88,27 @@ Var CountDownBrewing = BREW_CNT - ; run test; - ;If CountDownBrewing = 40 Then - ; Open "ROOT/taobin_project/xml/page_drinkok.xml" - ;EndIf - ;If CountDownBrewing = 0 Then - ; Open "ROOT/taobin_project/xml/page_drinkok.xml" - ;EndIf Var ShowCountDownBrewing = CountDownBrewing - + StrLen TelephoneNumber TelNumLen If TelNumLen > 0 Then Var ShowTextNumber = "Invisible" + + Else + ; Add + Var TimeOutPlay = TimeOutPlay + 1 + If TimeOutPlay > 10 Then + Var TimeOutPlay = 0 + If show_eng = "true" Then + Play "ROOT/taobin_project/sound_eng/Reward_final.mp3" + Else + Play "ROOT/taobin_project/sound_thai/dontforget_number.mp3" + EndIf + EndIf + ; + EndIf DEBUGVAR Timeout