Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2019
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. if (isnil("esptoggle")) then {
  2. esptoggle = 0;
  3. };
  4.  
  5. if (esptoggle == 0) then {
  6. esptoggle = 1;
  7. cutText ["GIGA ESP ON", "PLAIN"];
  8. } else {
  9. esptoggle = 0;
  10. cutText ["GIGA ESP OFF", "PLAIN"];
  11. };
  12. if (esptoggle == 1) then {
  13. onEachFrame {
  14. _Player = nearestobjects[player, ["CAManBase"], 400]; {
  15. if ((getPlayerUID _x != "") && ((player distance _x) < 400)) then {
  16. drawIcon3D["", [0, 0.5, 1, 1], [visiblePosition _x select 0, visiblePosition _x select 1, (getPosATL _x select 2) + 2], 0.1, 0.1, 45, (format["%2 : %1m", round(player distance _x), name _x]), 2, 0.03, "puristaMedium"];
  17. };
  18. }
  19. forEach playableUnits;
  20. };
  21. } else {
  22. onEachFrame {
  23. nil
  24. };
  25. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement