hallo ich hab n problem und ich check net was falsch ist. Da momentan son quiz rausch ist hab ich mir überlegt ne kleines anderes quiz zu machen. Das is nur der kleine auszug ausm Code wo der Fehler steckt.
Alles anzeigen
GML-Quellcode
- global.frage = 0
- global.hans = 0
- message_caption(1,global.hans)
- global.zufallfrage = floor(random(2))
- frage[0] = global.frage = 1
- frage[1] = global.frage = 2
- frage[global.zufallfrage]
- if (global.frage == 1)
- {
- global.hans = "Frage 1"
- if show_question("Steht O.C. für Orange Country")==true
- {
- global.punkte +=1
- }
- }
- if (global.frage == 2)
- {
- global.hans = "Frage 2"
- if show_question("Kommt Ryan aus Las Vegas")==false
- {
- global.punkte +=1
- }
- }
Dieser Beitrag wurde 1993 mal editiert, zum letzten Mal von tricktickler: Morgen, 25:60
Frag doch OnkelGoogle
Frag doch OnkelGoogle