Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- in initplayerlocal.sqf:
- 0 = [player] spawn {
- _p = _this select 0;
- waitUntil {sleep 5; isPlayer _p};
- if (local _p) then {
- while {isPlayer _p} do {
- waitUntil {sleep 3; _p inArea "nameofmarker"};
- _handle = execvm "script.sqf";
- waitUntil {sleep 1; !(_p inArea "nameofmarker")};
- terminate _handle;
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement