Hallo, ich habe mal wieder eine Frage.
Ich möchte für eine Anzeige mehrere Variablen abfragen, allerdings möchte ich das so laufen lasse, das ich sage, wenn die Variable "nicht" den Wert 1 hat.
Bspl.
if global.filmnr=0 draw_text(340,220,string(global.texta))
if global.filmnr=1 and global.charts = not 1 and global.charts1 = not 1 and global.charts2 = not 1 draw_text(340,220,string(global.texta))
if global.filmnr=2 and global.charts = not 1 and global.charts1 = not 1 and global.charts2 = not 1 draw_text(340,220,string(global.texta))
if global.filmnr=3 and global.charts = not 1 and global.charts1 = not 1 and global.charts2 = not 1 draw_text(340,220,string(global.texta))
aber irgendwie klappt das nicht. Sobald "global.filmnr" auf "1" steht, wird nichts mehr angezeit.
Würde mich freuen wenn mir jemand weiterhelfen kann.
Ich möchte für eine Anzeige mehrere Variablen abfragen, allerdings möchte ich das so laufen lasse, das ich sage, wenn die Variable "nicht" den Wert 1 hat.
Bspl.
if global.filmnr=0 draw_text(340,220,string(global.texta))
if global.filmnr=1 and global.charts = not 1 and global.charts1 = not 1 and global.charts2 = not 1 draw_text(340,220,string(global.texta))
if global.filmnr=2 and global.charts = not 1 and global.charts1 = not 1 and global.charts2 = not 1 draw_text(340,220,string(global.texta))
if global.filmnr=3 and global.charts = not 1 and global.charts1 = not 1 and global.charts2 = not 1 draw_text(340,220,string(global.texta))
aber irgendwie klappt das nicht. Sobald "global.filmnr" auf "1" steht, wird nichts mehr angezeit.
Würde mich freuen wenn mir jemand weiterhelfen kann.