Advertisement
Guest User

Untitled

a guest
Apr 8th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. _OG_Arms = ceil(random 2);
  2. if (_OG_Arms == 1) then {
  3. OG_Location = getmarkerpos "OG_Arms_1";
  4. OG_Check = getmarkerpos "OG_Arms_1" nearEntities [[man], 15];
  5. if (OG_Check isEqualTo []) then {
  6. player setpos OG_Location;
  7. } else {
  8. _OG_Arms = 2;
  9. };};
  10. if (_OG_Arms == 2) then {
  11. OG_Location = getmarkerpos "OG_Arms_2";
  12. OG_Check = getmarkerpos "OG_Arms_2" nearEntities [["man"], 15];
  13. if (OG_Check = []) then {
  14. player setpos OG_Location;
  15. } else {
  16. ["All spawns blocked!"] call tankode_fnc_notification_system;
  17. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement