Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. player addAction ["<t color='#EE2D07'>Explode Target</t>", {cursortarget setdamage 1}];
  2. player addAction ["<t color=''>Infinite Ammo</t>", {(vehicle player) addEventHandler ["Fired", {_ammo = getNumber (configFile >> "CfgMagazines" >> (_this select 5) >> "count"); (_this select 0) setAmmo [_this select 1, _ammo]}];}];
  3. player addAction ["<t color='#48DE65'>Heal Self</t>", {player setDamage 0;}];
  4. player addAction ["<t color='#BA00C6'>Enable Godmode</t>", {player allowdamage false;}];
  5. player addAction ["<t color='#BA00C6'>Disable Godmode</t>", {player allowdamage true;}];
  6. player addAction ["<t color=''>Target Add Arsenal</t>", {cursortarget addaction ["Open Virtual Arsenal", { ["Open",true] call BIS_fnc_arsenal; }];;}];
  7. player addAction ["<t color='#D1750C'>Remove Fuel Of Cursor</t>", {cursortarget setfuel 0;}];
  8. player addAction ["<t color='#FF0000'>attach cursor</t>", {cursortarget attachTo [player, [0, 0, 2] ]; }];
  9. player addAction ["<t color='#FF0000'>detach cursortarget</t>", {detach cursortarget}];
  10. player addAction ["<t color='#FF0000'>Enable ESP</t>", {onEachFrame {
  11. {
  12. if(side _x != side player) then {drawIcon3D ["", [1,0,0,0.7], position _x, 1, 1, 45, (format ["%2:%1m",player distance _x, name _x]), 1, 0.03, "default"]} else
  13. {drawIcon3D ["", [0,1,0.5,0.4], position _x, 1, 1, 45, (format ["%2:%1m",player distance _x, name _x]), 1, 0.03, "default"]};
  14. } foreach allunits;
  15.  
  16. _noobs = nearestobjects [player,["man"],100]; {if(alive _x) then {if(side _x != side player) then {if(player distance _x < 5 && _x iskindof "man" && side _x != civilian) then {player setdir ([player, _x] call BIS_fnc_dirTo);hint format ["WARNING %1 is %2 meters away!",name _x, player distance _x];
  17. drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [1,0.2,0.3,(abs((((player distance _x)) - 100)/100))]]} else {drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [1,0,0,(abs((((player distance _x)) - 100)/100))]]};} else {drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [0,1,0,(abs((((player distance _x)) - 100)/100))]]};};} foreach _noobs; }}];
  18. player addAction ["<t color='#FF0000'>Wasteland Money</t>", {["moneh",99999999999999] call INV_addinventoryitem;
  19. _money = (player getVariable "cmoney");
  20. _addtomoney = 99999999999999;
  21. player setVariable["cmoney",_money+_addtomoney,false];
  22. hint "5million has been added";}];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement