Advertisement
PRJX

Untitled

Apr 24th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. private["_canAutoRun"];
  2. _canAutoRun = true;
  3. try
  4. {
  5. if !((vehicle player) isEqualTo player) then
  6. {
  7. throw false;
  8. };
  9. if (underwater player) then
  10. {
  11. throw false;
  12. };
  13. if (((getPosASL player) select 2) < 0.1) then
  14. {
  15. throw false;
  16. };
  17. if ((player getHit "legs") >= 0.5) then
  18. {
  19. throw false;
  20. };
  21. if ((stance player) isEqualTo "UNDEFINED") then
  22. {
  23. throw false;
  24. };
  25. if ([getPosATL player, 100] call ExileClient_util_world_isTerritoryInRange) then
  26. {
  27. throw false;
  28. };
  29. }
  30. catch
  31. {
  32. _canAutoRun = false;
  33. };
  34. _canAutoRun
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement