Advertisement
hurburd

Untitled

Jun 26th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. in initplayerlocal.sqf:
  2.  
  3. 0 = [player] spawn {
  4. _p = _this select 0;
  5. waitUntil {sleep 5; isPlayer _p};
  6. if (local _p) then {
  7. while {isPlayer _p} do {
  8. waitUntil {sleep 3; _p inArea "nameofmarker"};
  9. _handle = execvm "script.sqf";
  10. waitUntil {sleep 1; !(_p inArea "nameofmarker")};
  11. terminate _handle;
  12. }
  13. }
  14. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement