Advertisement
smiley199

Untitled

Apr 21st, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.01 KB | None | 0 0
  1. {
  2.     private _fnc_scriptNameParent = if (isNil '_fnc_scriptName') then {'OEC_fnc_vIJcFpAhgaJLcaE'} else {_fnc_scriptName};
  3.     private _fnc_scriptName = 'OEC_fnc_vIJcFpAhgaJLcaE';
  4.     scriptName _fnc_scriptName;
  5.  
  6. #line 1 "core\JQaKqTKvpeTdGez\fn_vIJcFpAhgaJLcaE.sqf [OEC_fnc_vIJcFpAhgaJLcaE]"
  7. private _nearVeh = nearestObjects [player, ["O_Truck_02_Ammo_F","O_Truck_03_ammo_F","B_Truck_01_ammo_F"], 12, true];if (count _nearVeh isEqualTo 0) exitWith {hint "The escort vehicle is not close enough to the npc!";};if (((getPos player) distance (getPos (_nearVeh select 0))) > 12) exitWith {hint "The escort vehicle is not close enough to the npc!";};if !(escort_status select 0) exitWith {hint "There currently is not an active escort!";};hint "Attempting to sell the escort vehicle...";[[player,(_this select 3)],"OES_fnc_xqMDJVaPBIStnjR",false,false] spawn OEC_fnc_MP;[[964, name player, getPlayerUID player, format ["Tried to sell escort vehicle at location: %1", getPos player]],"OES_fnc_wrduJgVFNsbdked",false,false] call OEC_fnc_MP;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement