Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isnil("esptoggle")) then {
- esptoggle = 0;
- };
- if (esptoggle == 0) then {
- esptoggle = 1;
- cutText ["GIGA ESP ON", "PLAIN"];
- } else {
- esptoggle = 0;
- cutText ["GIGA ESP OFF", "PLAIN"];
- };
- if (esptoggle == 1) then {
- onEachFrame {
- _Player = nearestobjects[player, ["CAManBase"], 400]; {
- if ((getPlayerUID _x != "") && ((player distance _x) < 400)) then {
- 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"];
- };
- }
- forEach playableUnits;
- };
- } else {
- onEachFrame {
- nil
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement