Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. removeallactions player;
  2. player addAction ["<t color=""#00FFFF"">~~~~ Reddington Troll Menu ~~~~</t>",""];
  3. player addAction["<t color='#FF0000'>Close Menu</t>", {
  4. removeallactions player;
  5. call ReddingtonMenoo;
  6. }, "", 50];
  7. player addAction["<t color='#000000'>----------------------</t>", {
  8. hint "Menu by Reddingtons";
  9. }, "", 50];
  10. player addAction["Destroy Target", {
  11. _dt = cursorTarget;
  12. cursorTarget setDamage 100;
  13. hint format["%1 \n Damaged \n by Reddingtons", _dt];
  14. }, "", 50];
  15. player addAction["Delete Target", {
  16. _dt = cursorTarget;
  17. deleteVehicle cursorTarget;
  18. hint format["%1 \n Deleted \n by Reddingtons", _dt];
  19. }, "", 50];
  20. player addAction["Destroy all in Range", {
  21. _l = position player nearObjects 500;
  22. _cl = count _l;
  23. _sl = 0;
  24. for "_sl"
  25. from 0 to _cl do {
  26. _tl = _l select _sl;
  27. if (getPlayerUID _tl == "") then {
  28. if (_cl == _sl + 1) then {
  29. _tl = "Done";
  30. };
  31. hint format[" \n - Destroy - List - \n \n - Made by Reddingtons - \n \n ----------------------------------------------- \n Units in Range: \n %1 \n ----------------------------------------------- \n Current Selected: \n %2 \n %3 \n ----------------------------------------------- \n DESTROYED ", _cl, _sl + 1, _tl];
  32. _tl SetDamage 100;
  33. };
  34. };
  35. }, "", 50];
  36. player addAction["Delete all in Range", {
  37. _l = position player nearObjects 500;
  38. _cl = count _l;
  39. _sl = 0;
  40. for "_sl"
  41. from 0 to _cl do {
  42. _tl = _l select _sl;
  43. if (getPlayerUID _tl == "") then {
  44. if (_cl == _sl + 1) then {
  45. _tl = "Done";
  46. };
  47. hint format[" \n - Delete - List - \n \n - Made by Reddingtons - \n \n ----------------------------------------------- \n Units in Range: \n %1 \n ----------------------------------------------- \n Current Selected: \n %2 \n %3 \n ----------------------------------------------- \n DELETED ", _cl, _sl + 1, _tl];
  48. deleteVehicle _tl;
  49. };
  50. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement