Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2015
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.85 KB | None | 0 0
  1. _unit = _this select 0;
  2. if (_unit getVariable "channelOne") then
  3. {
  4.     _nul =  [0, _unit] execVM "scripts\waitForFreqs.sqf";
  5. };
  6. if (_unit getVariable "channelTwo") then
  7. {
  8.     _nul =  [1, _unit] execVM "scripts\waitForFreqs.sqf";
  9. };
  10. if (_unit getVariable "channelThree") then
  11. {
  12.     _nul =  [2, _unit] execVM "scripts\waitForFreqs.sqf";
  13. };
  14. if (_unit getVariable "channelFour") then
  15. {
  16.     _nul =  [3, _unit] execVM "scripts\waitForFreqs.sqf";
  17. };
  18. if (_unit getVariable "channelFive") then
  19. {
  20.     _nul =  [4, _unit] execVM "scripts\waitForFreqs.sqf";
  21. };
  22. if (_unit getVariable "channelSix") then
  23. {
  24.     _nul =  [5, _unit] execVM "scripts\waitForFreqs.sqf";
  25. };if (_unit getVariable "channelSeven") then
  26. {
  27.     _nul =  [6, _unit] execVM "scripts\waitForFreqs.sqf";
  28. };if (_unit getVariable "channelEight") then
  29. {
  30.     _nul =  [7, _unit] execVM "scripts\waitForFreqs.sqf";
  31. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement