Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.94 KB | None | 0 0
  1.             case 21: {
  2.           private _condition = FALSE;
  3.             if (_shift) then [{
  4.                 _handled = []spawn BT_fnc_Buy_Vehicles;
  5.               },{
  6.                 hintSilent "menu joueur prochainement...\nOu pas... ça dépend si tu es sage";
  7.  
  8.                 DA3F_fncYolo = {
  9.                  _conditions = false;
  10.                  _obj     = param[0];
  11.                  _code    = param[1];
  12.                  _compile = call compile _code;
  13.                  if (_compile) then {
  14.                   _conditions = true;
  15.                  };
  16.                 _conditions
  17.                 };
  18.  
  19.                 _obj = cursorObject;
  20.  
  21.                 _conditions_Array = getArray (missionConfigFile >> "BTSD_Cfg_Mission"  >> "RandProps" >> "MyCondi");
  22.  
  23.                 _Code       = _conditions_Array # 1;
  24.                 _condition  = [_obj, _Code]call DA3F_fncYolo;
  25.                 hint str [_condition];
  26.  
  27.             }];
  28.             };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement