Einzelnen Beitrag anzeigen
  #60  
Alt 28.11.2019, 00:43
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.894
Abgegebene Danke: 582
Erhielt 7.065 Danke für 1.594 Beiträge
Aktivitäten Langlebigkeit
9/20 15/20
Heute Beiträge
1/3 sssss2894
AW: Re: MessChess und Arena - Fragen und Antworten

 Zitat von hap Beitrag anzeigen
Like this?

manager:machine():sound():system_mute(1)
manager:machine():sound():system_mute(0)
Yes, that's one of the ways I've tried it.
If I put the 1st line at the beginning of the function interface.setlevel(), I get this error message: "...: attempt to index a nil value (global 'manager')".

If I put this command a few lines below (where it is only excuted when I change the level), then absolutely nothing happens if I actually (try to) change the level, also no error message in this case - it looks at if the setlevel() function would just be exited when this line is reached.
This LUA is really a crap ...
Mit Zitat antworten