aeroson

Untitled

Jun 9th, 2013
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1.  
  2. myRemoveAction = {
  3. _this removeAction (_this getVariable "actionId");
  4. };
  5. myAddAction = {
  6. _this setVariable["actionId", _this addAction["<t color='#ff1111'>Retrieve Classified Equipment</t>", "CTF.sqf"] ];
  7. };
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. BluePlayers = ["pb1","pb2","pb3","pb4","pb5"];
  21. RedPlayers = ["pr1","pr2","pr3","pr4","pr5"];
  22.  
  23.  
  24.  
  25. // add acion to wreck for BluePlayers
  26. [wreck,"myAddAction",BluePlayers] spawn BIS_fnc_MP;
  27.  
  28.  
  29.  
  30. // do stuffs
  31.  
  32.  
  33.  
  34. // add acion to wreck for BluePlayers
  35. [wreck,"myRemoveAction",BluePlayers] spawn BIS_fnc_MP;
Advertisement
Add Comment
Please, Sign In to add comment