Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- removeallactions player;
- player addAction ["<t color=""#00FFFF"">~~~~ Reddington Troll Menu ~~~~</t>",""];
- player addAction["<t color='#FF0000'>Close Menu</t>", {
- removeallactions player;
- call ReddingtonMenoo;
- }, "", 50];
- player addAction["<t color='#000000'>----------------------</t>", {
- hint "Menu by Reddingtons";
- }, "", 50];
- player addAction["Destroy Target", {
- _dt = cursorTarget;
- cursorTarget setDamage 100;
- hint format["%1 \n Damaged \n by Reddingtons", _dt];
- }, "", 50];
- player addAction["Delete Target", {
- _dt = cursorTarget;
- deleteVehicle cursorTarget;
- hint format["%1 \n Deleted \n by Reddingtons", _dt];
- }, "", 50];
- player addAction["Destroy all in Range", {
- _l = position player nearObjects 500;
- _cl = count _l;
- _sl = 0;
- for "_sl"
- from 0 to _cl do {
- _tl = _l select _sl;
- if (getPlayerUID _tl == "") then {
- if (_cl == _sl + 1) then {
- _tl = "Done";
- };
- 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];
- _tl SetDamage 100;
- };
- };
- }, "", 50];
- player addAction["Delete all in Range", {
- _l = position player nearObjects 500;
- _cl = count _l;
- _sl = 0;
- for "_sl"
- from 0 to _cl do {
- _tl = _l select _sl;
- if (getPlayerUID _tl == "") then {
- if (_cl == _sl + 1) then {
- _tl = "Done";
- };
- 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];
- deleteVehicle _tl;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement