Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tfm.exec.disableAutoShaman(true)
- t=0
- Nq=0
- sec=30
- s=sec
- tfm.exec.newGame(7060934)
- playerQ="Catmusk" --اللاعب المختبر
- tfm.exec.movePlayer(playerQ,400, 100)
- canPlay=true
- questions={
- {q="من هو رئيس المجتمع العربي في أول إنشائه ؟",a=""},
- {q="يتم إحتساب عدد البوتكاب عن وجود عدد معين من اللاعبين فما هو ؟",a=""},
- {q="ما المدة اللتي يتم فيها حظر الهاك عند إستخدامه لأول مرة ؟",a=""},
- {q="ما أسم معرض الألعاب الذي إستضاف ترانسفورمايس مؤخراً ؟",a=""},
- {q="؟ RunforCheese من هو مبرمج",a=""},
- {q="ما وظيفة الإيعاز /ping",a=""},
- {q="ما الأمر الذي كان مصمماً لطرد اللاعبين من القبيلة في السابق",a=""},
- {q="ما أسم اللاعب الذي يملك التسجيل رقم 1",a=""},
- {q="ما وظيفة الإيعاز /tk في الماضي",a=""}
- }
- maxQ=#questions
- function newQuestion()
- if maxQ ~= Nq then
- Nq=Nq+1
- ui.addPopup(1,2,"",playerQ,100,205,600,true)
- ui.addTextArea(1,"<br><p align='center'><font size='13'>"..questions[Nq].q.."", NIL,100,10,600,38,1,1,0.8,true)
- s=sec
- else
- canPlay=false
- ui.removeTextArea(2,nil)
- ui.addTextArea(1,"<br><p align='center'><font size='13'>انتهى الإختبار", NIL,100,10,600,38,1,1,0.8,true)
- end
- end
- newQuestion()
- function eventLoop(o,p)
- if canPlay then
- t=t+1
- if t== 2 then
- s=s-1
- ui.addTextArea(2,"<br><p align='center'><font size='20'><j>"..s.."", NIL,372,70,60,60,1,1,0.6,true)
- if s == 0 then
- newQuestion()
- end
- t=0
- end
- end
- end
- function eventPopupAnswer(id,n,answer)
- if id == 1 then
- if answer == "" then
- answer = "<r>*لم يتم الإجابة*"
- end
- questions[Nq].a=answer
- newQuestion()
- end
- end
- function eventChatCommand(n,cmd)
- if cmd == "score" then
- print(playerQ.." : اللاعب")
- i=1
- while i <= maxQ do
- print(i..": السؤال")
- print("<vp>"..questions[i].a)
- i=i+1
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement