Advertisement
Guest User

Undetectable Arma 3 ESP

a guest
Dec 14th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. admin_esp_eh = addMissionEventHandler ['Draw3D', {
  2. {
  3. if (!isNull _x) then {
  4. if (vehicle _x != cameraOn) then {
  5. _name = (name _x);
  6. _pos = (_x modelToWorld ((_x selectionPosition 'neck') vectorAdd [0,0,0.25]));
  7.  
  8. if ((cameraOn distance _x) <= 1500) then {
  9. _color = [0,0.27,0.84,1];
  10. if (side _x == opfor) then {
  11. _color = [0.9,0.11,0,1];
  12. };
  13. if (side _x == civilian) then {
  14. _color = [0.4, 0, 0.4, 1];
  15. };
  16. if (side _x == independent) then {
  17. _color = [0, 0.8, 0.2, 1];
  18. };
  19.  
  20.  
  21. drawIcon3D ['', _color, _pos, 0, 0, 0, (format ['%1 (%2m)', _name, (round(cameraOn distance _x))]), 1.5, 0.03, 'PuristaLight','center',true];
  22. };
  23. };
  24. };
  25. } foreach allPlayers;
  26. }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement