Advertisement
smiley199

Untitled

Apr 21st, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.91 KB | None | 0 0
  1. {
  2.     private _fnc_scriptNameParent = if (isNil '_fnc_scriptName') then {'OEC_fnc_MP'} else {_fnc_scriptName};
  3.     private _fnc_scriptName = 'OEC_fnc_MP';
  4.     scriptName _fnc_scriptName;
  5.  
  6. #line 1 "core\HABDzHChOnodocm\FKCUPHMzeDCwwfA\fn_MP.sqf [OEC_fnc_MP]"
  7. with missionnamespace do{private ["_params","_functionName","_target","_isPersistent","_isCall","_ownerID","_mpPacket","_defaults","_same"];_params = param [0,[],[[]]];_functionName =param [1,"",[""]];_target = param [2,false,[objnull,false,0,[],sideUnknown,grpnull,""]];_isPersistent =param [3,false,[false,""]];_isCall = param [4,false,[false]];if(typename _target == typename 0) then {if(isServer && !isDedicated) then {if(_target == -2) then {_target = 0;};};};if (typeName _target == typeName true) then{_target = [2,0] select _target;};if (_isCall) then{_params remoteExecCall [_functionName,_target,false];}else{_params remoteExec [_functionName,_target,false];}};}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement