Advertisement
Guest User

Untitled

a guest
May 28th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. case 207:
  2. {
  3. if(_shift) then {
  4. switch (player getVariable["Earplugs",0]) do {
  5. case 0: {hintSilent "Ear Plugs 90%"; 1 fadeSound 0.1; player setVariable ["Earplugs", 10]; };
  6. case 10: {hintSilent "Ear Plugs 60%"; 1 fadeSound 0.4; player setVariable ["Earplugs", 40]; };
  7. case 40: {hintSilent "Ear Plugs 30%"; 1 fadeSound 0.7; player setVariable ["Earplugs", 70]; };
  8. case 70: {hintSilent "Ear Plugs Removed"; 1 fadeSound 1; player setVariable ["Earplugs", 0]; };
  9. };
  10. };
  11. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement