Alles anzeigenIch hab auch die v4.4r4 Und bei mir geht es auch nicht.
Spoiler anzeigen
//NUM_* Key = Für Ohrstöpsel
case 55:
{
if(_shift) then {
switch (player getVariable["Earplugs",0]) do {
case 0: {hint composeText [image "icons\ohrstoepsel\sound.paa","Der Sound ist nun 90% leiser! "]; 1 fadeSound 0.1; player setVariable ["Earplugs", 10]; };
case 10: {hint composeText [image "icons\ohrstoepsel\sound.paa","Der Sound ist nun 60%leiser!"]; 1 fadeSound 0.4; player setVariable ["Earplugs", 40]; };
case 40: {hint composeText [image "icons\ohrstoepsel\sound.paa","Der Sound ist nun 30%leiser!"]; 1 fadeSound 0.7; player setVariable ["Earplugs", 70]; };
case 70: {hint composeText [image "icons\ohrstoepsel\sound.paa","Der Sound ist nun wieder normal!"]; 1 fadeSound 1; player setVariable ["Earplugs", 0]; };
};
};
};_handled;
Aber es rührt sich nix. Bitte um Hilfe
Probier das hier mal :
- case 55:
- {
- if(_shift) then
- {
- switch (player SVAR["Earplugs",0]) do {
- case 0: {hint composeText [ image "icons\sound.paa"," 90% Leiser"]; 1 fadeSound 0.1; player SVAR ["Earplugs", 10]; };
- case 10: {hint composeText [ image "icons\sound.paa"," 60% Leiser"]; 1 fadeSound 0.4; player SVAR ["Earplugs", 40]; };
- case 40: {hint composeText [ image "icons\sound.paa"," 30% Leiser"]; 1 fadeSound 0.7; player SVAR ["Earplugs", 70]; };
- case 70: {hint composeText [ image "icons\sound_new.paa"," Normaler Sound"]; 1 fadeSound 1; player SVAR["Earplugs", 0]; };
- };
- };
- };