Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- private _fnc_scriptNameParent = if (isNil '_fnc_scriptName') then {'PHX_fnc_AirdpFinish'} else {_fnc_scriptName};
- private _fnc_scriptName = 'PHX_fnc_AirdpFinish';
- scriptName _fnc_scriptName;
- #line 1 "PHX\jobs\fn_AirdpFinish.sqf [PHX_fnc_AirdpFinish]"
- params[["_dp",objNull,[objNull]]];if(round((getPos dpAir) distance(getPos _dp))>15) exitWith{["Warning","The helicopter must be closer to the sign!","red","notice"]call PHX_fnc_notify;};PHX_Mission_Air=false;life_dp_point=nil;private _dis=round((getPos life_dp_start) distance(getPos _dp));private _price=round(5*_dis);sleep 0.5;["Notice",format["You have earned £%1",[_price]call life_fnc_numberText],"green","money"]call PHX_fnc_notify;
- deleteVehicle dpAir;deleteMarkerLocal"delivery_helicopter";[_price,0,0]call PHX_fnc_HandleMoney;["dpmission"]spawn ttm_fnc_addExp;[0]call PHX_fnc_updatePartial;private _position=(getPosATL player) findEmptyPosition[0,20];"B_Quadbike_01_F"createVehicle _position;["Notice","Altis Logistics has hired you a Quadbike!","cyan","notice"]call PHX_fnc_notify;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement